gugod/App-perlbrew — Issue #153: Suggestion: perlbrew switch/use @lib for switching to local::lib
Author: hoelzro
Created: 2011-10-18 16:02:48+00:00
State: open

From `perlbrew help lib`:

Always use a full name To `use` or `switch` to a perl with lib, for it might be
ambigous. A rule of thumb: the name after `use` or `switch` should be one of the
item in the output of `list`.

Typing out fully-qualified names can be quite tedious. I propose the following change:

`perlbrew use perl-5.14.2@my-lib` - Switches to perl-5.14.2@my-lib
`perlbrew use my-perl` - Switches to environment my-perl; **never** switches to $PERLBREW_PERL@my-perl
`perlbrew use @my-perl` - Switches to $PERLBREW_PERL@my-perl

I'd happily implement this, but I thought I'd get the opinion of the community before I go through the work. Thoughts?