in Error_log

(LWP::UserAgent not found)

Have you ever got this error? if yes then just installed the module below :

libwww-5.4.0_4 The W3C Reference Library
p5-libwww-5.834 Perl5 library for WWW access

Available ports in here:

/usr/ports/www/p5-libwww
/usr/ports/www/libwww

Then it will solved your problem 🙂

Igot this error when using perl script to querying nginx statistic :

> perl get_nginx_clients_status.pl http://website.com/server_status
no (LWP::UserAgent not found)

And when try to install some perl module , like installing DBD::mysql module :


cpan[1]> install DBD:mysql
no success downloading ‘/root/.cpan/sources/authors/01mailrc.txt.gz.tmp