Showing posts with label cpan. Show all posts
Showing posts with label cpan. Show all posts

Friday, 22 March 2013

The world's easiest guide to installing cpanm

A lot of the software I write is in Perl, and the easiest way to install it is almost always using cpanm. Here I present to you the world's easiest guide to getting cpanm up and running.

If you're in a hurry, just run these and you're done.
curl -L http://cpanmin.us | perl - --self-upgrade
~/perl5/bin/cpanm local::lib
perl -I ~/perl5/lib/perl5 -Mlocal::lib >> ~/.bashrc
Now start a new shell, and you're done.