Skip Menu |

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

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

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

Bug Information
Severity: Wishlist
Broken in: 0.07
Fixed in: (no value)



Subject: Add ability to use a ~perlbrew/perl5 for perl/CPAN, but have config in ~me/perl5
The use case for this is described in this blog post: http://blogs.perl.org/users/aevar_arnfjor_bjarmason/2010/06/how-i-setup- my-debian-server-to-run-perl-5131-with-perlbrew.html Specifically: "The only caveat I've encountered is that there's one global perlbrew bashrc in ~/perl5/perlbrew/etc/bashrc. So if I can't use perlbrew switch to only switch some users onto a given perl. It would be neat if perlbrew supported having the current symlinks in a local ~/perl5 while the actual binaries and modules were in ~v-perlbrew/perl5."
Since 0.13, perlbrew discards the symlink approach and go straight to modify PATH in-place. By that, I mean it changes $PATH in the current shell, and therefore multiple login shell can easily have different perl. To use that in the crontab, I guess you'll still need to hard-code the path in your crontab. Or alternatively, write a script to package it up a little bit, and set PATH in that script.
call this done.