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:
It’s as easy as installing PEAR modules for PHP.