perlbrew

perlbrewインストール

$ sudo curl -kL http://install.perlbrew.pl | bash
$ echo 'source ~/perl5/perlbrew/etc/bashrc' >> ~/.bashrc
$ source ~/.bashrc

利用出来るバージョン確認

$ perlbrew available

  • 5.xxのxx部分が奇数のバージョンは開発版
  • 5.xx.0はバグがある可能性が高い

Perlインストール

$ perlbrew install perl-5.16.2
This could take a while. You can run the following command on another shell to track the status:

インストール済みバージョンの表示

$ perlbrew list

バージョンの切替

$ perlbrew switch 5.18.2