You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep a number of tools under
~/perl5/perlbrew/perls/perl-5.16.2/mystuff
which I add to my $PATH in my .bashrc.
However, when "perlbrew use perl-5.16.2@foo" launches a subshell, it seems to replace anything starting with ~/perl5/perlbrew/perls/perl-5.16.2 in the current $PATH by the new path. Therefore, my path is lost.
I keep a number of tools under
~/perl5/perlbrew/perls/perl-5.16.2/mystuff
which I add to my $PATH in my .bashrc.
However, when "perlbrew use perl-5.16.2@foo" launches a subshell, it seems to replace anything starting with ~/perl5/perlbrew/perls/perl-5.16.2 in the current $PATH by the new path. Therefore, my path is lost.
It seems that line 1323 in v0.58 :
$env{PATH} = $env{PERLBREW_PATH} . ":" . join ":", grep { !/$root/ } split ":", $ENV{PATH};
should be replaced by :
$env{PATH} = $env{PERLBREW_PATH} . ":" . join ":", grep { !/$root/bin/ } split ":", $ENV{PATH};
unless of course there are implications that I do not see.
Thanks!
The text was updated successfully, but these errors were encountered: