This article details how to manage a recent perl in your homedir. The main advantage is that you will never mess up your distribution's perl again with cpan updates of some key modules.
- First install perlbrew using cpan on the system perl :
sudo cpan App::perlbrew
- An alternative method is to get a more recent perlbrew from metacpan. I had to do this to accomodate the system perl update to 5.16 on my gentoo systems : wget, untar, perl Makefile.PL, make, sudo make install.
Manage your perls with perlbrew
perlbrew available to list available perls
- Install with
- Switch to your new perl with