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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LWP library can't work!

Status
Not open for further replies.

spring

Programmer
Nov 9, 2000
2
CN
I am a newbie of perl program. I use windows NT 4.0 server and activeperl 5.6. Because I use proxy to browse the web, I can't install LWP library using PPM, so I download the lib file and use nmake to setup it. After setup, I can see the module using PPM> query command.
But when I write a sample .pl file and test it. It doesn't work correctlly.
Please help me.

My source code:
simpleperl.pl:
#!c:/perl/bin -w
use LWP::Simple;

print (get $ARGV[0]);


I run it at the command line:
simpleperl.pl
It says that:
Use of uninitialized value in patten match <m//> at c:/Perl/site/lib/LWP/Protocol.pm line 108.....

How to resolve it?

TIA.
spring.z
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top