To reconfigure CPAN do the following: perl -MCPAN -e shell
When inside the shell...type: cpan> o conf init
That's it...you will get interactive question and answer to setup CPAN etc...cheers.
Another way to do this is ..just by executing cpan directly from shell.. as pointed out by chorny :) thx. # cpan
cpan> o conf init
Again..there maybe more ways to do this...choose yours :)
Friday, August 7, 2009
Perl and CPAN reconfigure
Posted by Parvinder Bhasin at 10:24 PM
Subscribe to:
Post Comments (Atom)
1 comment:
-M is a switch, so module is called CPAN :)
You can launch it from command line with `cpan`.
Post a Comment