Perlbrew

Installing perlbrew is a one-liner:

curl -L http://install.perlbrew.pl | bash

Add this lines to your ~/.bashrc:

source ~/perl5/perlbrew/etc/bashrc

To get a stable perl distribution, do:

perlbrew install stable

To use it, run:

perlbrew list
perlbrew switch perl-5.20.2

To upgrade to the latest stable Perl distribution at a later point:

perlbrew install stable
# Remove previous versions (check with perlbrew list):
#perlbrew uninstall perl-5.18.1
# Remove downloaded tarballs and build directory
perlbrew clean

Resources

Comments