Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cpan [2014/05/23 10:35]
cpan [2014/05/23 10:35] (current)
Line 1: Line 1:
 +====== CPAN ======
 +
 +  * [[perl]]
 +
 +Use ''​cpanminus''​ to make installing / upgrading CPAN modules **simple** and possible in **low-memory** environments.
 +
 +Install cpanminus:
 +
 +<​code>​
 +curl -L http://​cpanmin.us | perl - App::​cpanminus
 +</​code>​
 +
 +The application name is ''​cpanm''​ once installed.
 +
 +** Upgrade CPAN modules with cpanm **
 +
 +This will skip tests and display verbose output:
 +
 +<​code>​
 +cpan-outdated -p | cpanm -n -v
 +</​code>​
 +
 +** Upgrade CPAN **
 +
 +<​code>​
 +cpan
 +install CPAN
 +reload cpan
 +</​code>​
 +