Skip Menu |

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 84039
Status: resolved
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: IKEGAMI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.60
Fixed in: 0.61



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)
Note that C<< perlbrew env >> itself works properly. $ perlbrew env 5.16.3t export PERLBREW_MANPATH="/home/ikegami/usr/perlbrew/perls/5.16.3t/man"; export PERLBREW_PATH="/home/ikegami/usr/perlbrew/bin:/home/ikegami/usr/perlbrew/perls/5.16.3t/bin"; export PERLBREW_PERL="5.16.3t"; export PERLBREW_ROOT="/home/ikegami/usr/perlbrew"; export PERLBREW_VERSION="0.60"; It's how that command gets generated and evaluated that's broken.
Hi, Thanks for the effort. I believe 0.61 should fix your issue here.
Thank! I'll give 793214cc150e332290b8b7d49fe58b3bc2587ff5 a spin later tonight.
Fixed in 0.61. Thanks again.