Subject: | 0.60 doesn't work in bash |
perlbrew 0.60 doesn't work for me. It's corrupting all my environment
variables.
$ set | grep '^\(PERLBREW_\|PATH=\|MANPATH=\)'
MANPATH='"/home/ikegami/usr/perlbrew/perls/5.16.3t/man";:...'
PATH='"/home/ikegami/usr/perlbrew/bin:/home/ikegami/usr/perlbrew/perls/5.16.3t/bin";:...'
PERLBREW_BASHRC_VERSION=0.60
PERLBREW_HOME=/home/ikegami/.perlbrew
PERLBREW_MANPATH='"/home/ikegami/usr/perlbrew/perls/5.16.3t/man";'
PERLBREW_PATH='"/home/ikegami/usr/perlbrew/bin:/home/ikegami/usr/perlbrew/perls/5.16.3t/bin";'
PERLBREW_PERL='"5.16.3t";'
PERLBREW_ROOT='"/home/ikegami/usr/perlbrew";'
PERLBREW_VERSION='"0.60";'
I traced the problem to the following line of __perlbrew_activate:
$(eval $perlbrew_command env $PERLBREW_PERL)
The problem was introduced in 0.60 by commit
c96420c58b041bccf370c26a4cd988df6a06f52c.
I use GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)