I did try the following: use LWP::UserAgent; require LWP::UserAgent;
and they don't help. Since the LWP::UserAgent->new routine is working, I assume the package is loaded... Sincerely Pine -----Original Message----- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 6:11 PM To: Pine Yan Cc: beginners@perl.org Subject: Re: LWP package problem On Nov 17, Pine Yan said: > #!/home/gnu/bin/perl > > use LWP; > > my $browser = LWP::UserAgent->new; > > my $url = 'http://www.google.com'; > > my $response = $browser->get($url); You didn't load the LWP::UserAgent module, though. You loaded LWP, not LWP::UserAgent. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>