Created
July 11, 2015 15:31
-
-
Save soardex/5474b5cf3f263d6acd77 to your computer and use it in GitHub Desktop.
Perlbrew on CentOS 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install perlbrew | |
sudo yum install -y perl perl-CPAN perl-CPAN-Meta | |
sudo cpan App::cpanminus | |
sudo cpanm install App::perlbrew | |
# install cpanm and perl latest | |
perlbrew install-cpanm | |
perlbrew install-patchperl | |
perlbrew install 5.22.0 | |
# change the perl5 perlbrew directory | |
export PERLBREW_ROOT=/opt/perl5 | |
# set the default perl and to switch perlbrew on | |
perlbrew switch perl-5.22.0 | |
# temporary use another version of perl on the current shell | |
perlbrew use perl-5.22.0 | |
# turnoff perlbrew completely and use system default perl | |
perlbrew off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting the same from Pod::Parser.