we are using perlbrew for maintaining the various version of perl. Along , now we are facing challenges as we need to update the scripts to the latest CPAN module. But we want still some the script to keep make use of old perl module till the compatibility issue is resolved.
Is there any away to install the lastest version of module with impacting the older version
perlbrew
keeps each version separate, include its CPAN modules. If you run:
perl -E'say for @INC'
you will see the Perl version in the paths. If you switch the Perl, you will see different paths for @INC
.