Skip Menu |

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

Report information
The Basics
Id: 59722
Status: open
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: claco [...] chrislaco.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.08
Fixed in: (no value)



Subject: Odd switch problem with 5.12.1
New install of perlbrew 0.08 on OSX 10.6 perl 5.10.0 I have installed 5.8.9, 5.10.1 and 5.12.1 successfully. I can switch to perl-5.8.9 or perl-5.10.1 and after hash -r, I'm using the new perl immediately. However, any attempts to switch to perl-5.12.1 within ~ display "Switched to perl-5.12.1", but no "current" is set in perl5/perlbrew/perls, even after multiple tries. Oddly enough, if I switch to another directory, like cd Documents, then issue perlbrew switch perl-5.12.1, it finally works as intended.
Updates during digging so I don't lose my place. So far, when I issue a switch perl-5.8.9 or perl-5.10.1, then fall to the last part of run_command_switch. For whatever reason, switch perl-5.12.1 returns in the middle of run_comand_switch because if (-x $dist) is actually true. Strange considering which perl-5.12.1 yields nothing and perl<tab> yields no 5.12.1 in my paths. Trying to uninstall and reinstall 5.12.1 now.
Chalk this up to stupid user tricks. Somewhere in my old local::lib shenanigans, I indeed had a perl-5.12.1 directory lying around...hidden. Sigh. Delete that directory and all is well.
On Tue Jul 27 21:43:56 2010, CLACO wrote: Show quoted text
> Chalk this up to stupid user tricks. Somewhere in my old local::lib > shenanigans, I indeed had a > perl-5.12.1 directory lying around...hidden. Sigh. Delete that > directory and all is well.
Maybe that check in run_command_switch should at least be -fx so it would've ignored the directory I had.