Skip Menu |
 

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

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

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

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



Subject: switch not working with paths
Download (untitled) / with headers
text/plain 242b
Hey Isn't this supposed to work? :) [ambs@rachmaninoff]$ perlbrew list /opt/local/bin/perl (5.14.0) /usr/bin/perl (5.14.0) [ambs@rachmaninoff]$ perlbrew switch /opt/local/bin/perl mydefault /opt/local/bin/perl is not installed Thanks
Download (untitled) / with headers
text/plain 921b
On Thu Jul 28 13:56:13 2011, AMBS wrote: Show quoted text
> Hey > > Isn't this supposed to work? :) > > [ambs@rachmaninoff]$ perlbrew list > /opt/local/bin/perl (5.14.0) > /usr/bin/perl (5.14.0) > > [ambs@rachmaninoff]$ perlbrew switch /opt/local/bin/perl mydefault > /opt/local/bin/perl is not installed > > Thanks
While it is broken now (not working as what documents says), I personally want to completely deprecate the feature to switch to any perl PATH, at least not directly with 'switch' command. 'use' and 'switch' command are re-written so no symlink creation is involved, thus makes perlbrew a bit more multi-user friendly. However this feature can be resorted with "alias" command: perlbrew alias /opt/local/bin/perl the-opt-perl perlbrew use the-opt-perl perlbrew switch the-opt-perl Obviously this is not implement yet, but I believe it should be a good feature to in the future release :)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.