參考http://stackoverflow.com/questions/22934080/how-to-downgrade-to-perl-5-10-1shell
Perlbrew will allow you to install multiple versions of Perl as user installed Perls. this
安裝perlbrewspa
apt-get install perlbrew
To install a particular version of Perl:code
perlbrew install 5.10 # I'm installing Perl 5.10!
安裝perl前須要創建文件夾:~/perl5/perlbrew/dists和:~/perl5/perlbrew/bulidblog
To switch from one version of Perl to another:ip
perlbrew use 5.10 # Use this version in the current shell
or get
perlbrew switch 5.10 # This is now your default version of Perl