Upgrading and installing CPAN modules

Often times I find the need to install required CPAN packages just to get a darn perl script to run on my machine. The nice thing is that CPAN works just like a package manager. Just run it and the packages are automatically downloaded and installed.

To run a full CPAN update:
perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'

No comments

Post a Comment