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.

Gamifiy your command line with HabitRPG


So, you're using HabitRPG to gamify your life, right? You should be; what could be better than collecting XP and gold for fixing bugs and doing chores and flossing your teeth, and developing a totally kick-arse character you'd want to show off to all your friends?

Oh yeah, doing all that from the command-line. ;)

So, I present to you hrpg, a command-line tool to integrate with HabitRPG.  It's still new, but it's very full featured.