Perl Modules

Though I am not a big fan of Perl, I sometimes need to execute perl scripts. Occasionally my perl repository misses some libraries like LWP::UserAgent. To install new perl modules, I had to execute

perl -MCPAN -e shell

At the first time, I had to answer 10 to 20 of configuration questions. And finally, I reached to cpan prompt, where I was able to enter:

cpan>install LWP::UserAgent

It’s as easy as installing PEAR modules for PHP.

Leave a Reply

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a