Is there a non-global equivalent of perlbrew?

I am using perlbrew right now to manage multiple versions of perl, but perlbrew is global. If I do perlbrew switch perl-5.10.1in any shell, then all shells and scripts will now use the perl version 5.10.1. No isolation. Is there a way to make perlbrew switches local to the shell, or is there a similar tool that can change the active perl locally?

+5
source share
2 answers

In later versions of Perlbrew, you can do perlbrew use perl-5.12.3anything or anything, and you will use this version of Perl, but only in the current shell session. Other sessions will not be affected.

+4

perlbrew. , , . , , , .

, Perler. , , , , , . perlbrew perls, .

+5

All Articles