Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: njh [...] bandsman.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.25
Fixed in: (no value)



Subject: perlbrew exec only finds system perl
njh@bandsman:~/.cpan/build$ perlbrew exec perl -e 'print "Hello from $]\n"' perl-5.10.0 ========== Hello from 5.012004
On Tue Jul 05 16:10:48 2011, njh@bandsman.co.uk wrote: Show quoted text
> njh@bandsman:~/.cpan/build$ perlbrew exec perl -e 'print "Hello from $]\n"' > perl-5.10.0 > ========== > Hello from 5.012004
Can you test again with these steps: cd /tmp wget http://xrl.us/perlbrew chmod +x ./perlbrew ./perlbrew exec perl -e 'print "Hello from $]\n"' Notice that the last step runs the downloaded perlbrew executable. If that output looks right to you, I suggest you do an upgrade using the just downloaded perlbrew executable. ./perlbrew install If you prefer upgrading from CPAN, make sure your users runs `perlbrew init` after-wise.
From: njh [...] bandsman.co.uk
That fixed it on one of the machines, I'll test on the others as soon as I can. Thanks for your help.
On Tue Jul 12 12:32:56 2011, njh@bandsman.co.uk wrote: Show quoted text
> That fixed it on one of the machines, I'll test on the others as soon as > I can. Thanks for your help.
FYI, although part of perlbrew rely on bash / csh, the `exec` command does not. What you were experiencing should be an `exec` -specific bug that was introduced recently (around 0.20 or so). Thanks for your help to improve perlbrew!