CentOS 6.7 version... default perl 5.10.
$ sudo yum -y install perl gcc make
$ curl -L http://install.perlbrew.pl | bash
$ echo "source ~/perl5/perlbrew/etc/bashrc " >> .bashrc
$ source ~/perl5/perlbrew/etc/bashrc
$ perlbrew available
$ perlbrew install perl-5.22.0
$ perlbrew switch perl-5.22.0
$ perlbrew install-cpanm
$ perl -v
http://dqn.sakusakutto.jp/2012/08/centos63_perlbrew_perl_cpanm.html
댓글
댓글 쓰기