Hi,
Wanted to send some HTTP/1.0 requests to a SAPI server for verification. When tried to use LWP module for the same, the request sent is an HTTP/1.1. Is there a way to send a request through LWP for HTTP/1.0 or will I have to use a different module? Thnkx.
Hi,
Can you please help me on this. Trying to run DBD::Sybase module. But then I get the following error while compiling the script:
Can't locate loadable object for module DBI in @INC (@INC contains: ./libs /cm/tools/paks/perl-5.8.0/lib/perl5/5.8.0/i686-linux...
This is basically bcos..i'm able to run the script by installing the module for LWP::Parallel:UserAgent on my local system. But the problem is, while I run the same script on a unix machine where in I don't have root permissions, I'm not able to achive the same.
So thought will use the module...
Have gotten really good responses from you guys.... thnkx.
If I want to use a perl module for e.g., Parallel.pm from the scripting directory, but not from the default perl path, how will I go about it? :-)
Thnkx... Used the LWP::UserAgent and its working fine..... But then... just wanted to know how to send 10 requests parallely.. as mention earlier...thnkx in advance...
Please do ignore the beginning... #!bin/perl.... since the path tht i would use is a little diff... other than that if you find any other issues.... please do post a reply... thnkx
I have been trying the following code....
#!bin/perl
use IO::Socket;
my $host = 'www.google.com';
my $port = 80;
my $sock = new IO::Socket::INET( PeerAddr => $host, PeerPort => $port, Proto => 'tcp');
$sock or die "no socket :$!";
$H2 = "GET /index.html\r\n";
open(LOG1, "> web_resp.log")...
Guys one more question on patterns to be matched:
I have the following XML pattern:
<Update UpdateId="xyz" SpinId="xyz" StageId="xyz">
I need to check the number of occurrence of the pattern ignoring the value "xyz" in the above. The value "xyz" will change multiple number of times.
Need...
Thankx a lot Miller.. its working gr8.. no issues with the $org/$orgtext.. since I'd formed the post from the prev one and the other part from the script. Sorry to have confused. But thn its working gr8....
Thnkx for the reply Kevin... The following is wht iam working on:
#Reading log file:
$infile='temp.log';
undef $/; #slurp mode
open IN, $infile or die $!;
$intext = <IN>;
$org = "\"GET...
Hi All,
I have a pattern:
"GET /channel_contents?channel_id=$chanid&app_id=$appid.$appversion&stic_id=43D469EC837A4804AB57FF3056947D04&ticket=&authenticator=&stic_ver=2.13.1.14 HTTP/1.0" 200
where in $chanid, $appid, $appversion etc are dynamic variables.
Problem is that i'm not able to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.