Subject: | Shared perlbrew doesn't work as expected |
I tried to install perlbrew for multiple users (Debian), as described in :
http://gugod.org/2010/12/a-shared-perlbrew-root-for-multiple-users.html
I believe that I followed the different steps correcly (although I may
have misendurstood something).
However, I am trapped between two things :
1. Either I give write permission to all all users on /opt/perlbrew, and
it works, but the switch command issued by any user affects all others ;
2. Or I do not give such permission, and then nothing happens. More
exacly perlbrew says "Switched to whatever" but simply doesn't do it.
Example:
$ perlbrew switch perl-5.12.3
Switched to perl-5.12.3
$ perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
...
cat .perlbrew/init
# DO NOT EDIT THIS FILE
export PERLBREW_PERL=custom
...