Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dphe

  1. dphe

    How to send a HTTP/1.0 request using LWP

    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.
  2. dphe

    Error running DBI module

    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...
  3. dphe

    Using .pm file from the script directory.

    thnkx Miller.. will check tht out...
  4. dphe

    Using .pm file from the script directory.

    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...
  5. dphe

    Using .pm file from the script directory.

    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? :-)
  6. dphe

    Need help on getting html content from a webpage...

    Yeah.. am able to do the same with LWP::Parallel::UserAgent. It works fine.. thnkx for all the help...
  7. dphe

    Need help on getting html content from a webpage...

    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...
  8. dphe

    Need help on getting html content from a webpage...

    Thanks Miller, working on that module... but then how will I run 10 such requests parallely?
  9. dphe

    Need help on getting html content from a webpage...

    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
  10. dphe

    Need help on getting html content from a webpage...

    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")...
  11. dphe

    Problems in finding pattern.......

    Hey thnkx steve... just ran through with regex.. matching patterns... increased a counter and waoola its done...
  12. dphe

    Problems in finding pattern.......

    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...
  13. dphe

    Problems in finding pattern.......

    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....
  14. dphe

    Problems in finding pattern.......

    Thnkx Miller for the reply.... but thn please do check in on the prev post... thnkx again..
  15. dphe

    Problems in finding pattern.......

    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...

Part and Inventory Search

Back
Top