gugod/App-perlbrew — Issue #171: Once you 'use' a specific lib, you can't return to a non-lib configuration
Author: jwittkoski
Created: 2011-12-12 21:15:35+00:00
State: open

Once you 'use' a specific lib, you can't return to a non-lib configuration:

$ perlbrew list
perl-5.15.5
perl-5.15.5@default
perl-5.15.5@test
$ perlbrew use perl-5.15.5
$ perlbrew list
* perl-5.15.5
perl-5.15.5@default
perl-5.15.5@test
$ perlbrew use perl-5.15.5@default
$ perlbrew list
perl-5.15.5
* perl-5.15.5@default
perl-5.15.5@test
$ perlbrew use perl-5.15.5
$ perlbrew list
perl-5.15.5
* perl-5.15.5@default
perl-5.15.5@test

At this point I would have expected that 'perl-5.15.5' would be currently selected.

This persists through 'off' and 'switch-off' also:

$ perlbrew off
perlbrew is turned off.
$ perlbrew use perl-5.15.5
$ perlbrew list
perl-5.15.5
* perl-5.15.5@default
perl-5.15.5@test