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

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.832.tar.gz
tar xvzf libwww-perl-5.832.tar.gz
cd libwww-perl-5.832
perl Makefile.PL
make
make install
 
troubleshooting/lwp.txt · Last modified: 2010/02/22 08:09 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki