-
Notifications
You must be signed in to change notification settings - Fork 587
The way to install newer version perl
ispyhumanfly edited this page Aug 5, 2011
·
8 revisions
If you use CentOS, perl version is 5.8.x. Mojolicious doesn't support perl 5.8.x . You will need to install a newer version of perl.
Use perlbrew. It is easy to install perl to user directory.
curl -L http://xrl.us/perlbrew > perlbrewperl perlbrew installperlbrew is installed in the following directory.
~/perl5Set perlbrew PATH.
echo "source $HOME/perl5/perlbrew/etc/bashrc" >> ~/.bashrcReload ".bashrc"
source ~/.bashrcInitialize perlbrew.
perlbrew initperlbrew install perl-5.12.3If you can't install perl, use -f option.
perlbrew install -f perl-5.12.3List available perls.
perlbrew listAvailable perls is displayed.
perl-5.12.3
* /usr/bin/perl (5.8.8)Switch perl.
perlbrew switch perl-5.12.3If you use cpanm for module installation, do this.
perlbrew install-cpanm