Re: LWP::UserAgent in Perl 5.8

[email protected] (Rob Dixon) Fri, 21 Jan 2011 14:56:16 +0000
Newsgroups perl.libwww
Message-ID <[email protected]>
On 21/01/2011 07:27, Mani, Krithika wrote:
> Hi,
>
> I am trying to use LWP::UserAgent class in a perl script . The
> version of perl is 5.8.4 . But while running the script I am getting
> an error "Can't locate LWP/UserAgent.pm in @INC". Could you please
> let me know the exact library which needs to be installed so that I
> can use the LWP class.

Hi Krithika

Well, erm, you need to install the LWP::UserAgent module!

Depending on which flavour of Perl you have installed, it may help you
to look at

   perldoc perlmodinstall

Or, if you are working on a Windows platform using ActiveState Perl, you
can use the built-in ppm utility to install ready-built modules.

HTH,

Rob