I have perl V5.22.1 installed by default in ubuntu 16.04 , I would like to know how to downgrade perl to version 5.20.3 , I have used perlbrew but it doesn't seem to work properly , are there any alternatives to perlbrew to downgrade perl , please let me know .
1 Answer
List what you can install and use, with
perlbrew available
Install what you want from the list, with
perlbrew install perl-5.20.3
See what you can use in this system, with
perlbrew list
Use what you want, in the current shell with
perlbrew use perl-5.20.2 # for this terminal only
perlbrew switch perl-5.20.2 # every time you log-in
Revert to the older version with
perlbrew off # for this terminal only
perlbrew switch-off # every time you log-in
man perlbrew
) which includes the answer.