Can't locate LWP/UserAgent.pm in @INC


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email » Spam
Top Level » System Level » Perl

Can't locate LWP/UserAgent.pm in @INCLast Modified: Mar 25, 2011, 1:46 am
If you're trying to run some perl related script, but get this error

Can't locate LWP/UserAgent.pm in @INC ...

then you'll need to install libwww-perl.  To do that, type:

wget http://www.cpan.org/modules/by-module/LWP/libwww-perl-5.837.tar.gz
tar xvzf libwww-perl-5.837.tar.gz
cd libwww-perl-5.837
perl Makefile.PL
make
make install



Another possible solution:

perl -MCPAN -e 'install Bundle::LWP'

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST