Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I just started to use perlbrew on an Ubuntu Precise installation and I guess I'm doing something wrong but can't figure it out. I want to install my perls into a nfs mounted directory /software/lib/perl5/perlbrew I set PERLBREW_ROOT to that directory and the two perl versions I installed so far have both correctly been installed there. I also added export PERLBREW_ROOT=/software/lib/perl5/perlbrew to my .bashrc and I can confirm in a terminal that this is indeed set correctly. In addition, perlbrew info also confirms that PERLBREW_ROOT is set to the above directory. However, when I install a module like this It is successfully installed in my home directory under ${HOME}/lib/perl5 and I can't figure out why. Any clues what I might be doing wrong? I can also confirm that the cpanm that is used appears to be the one installed with perlbrew (it's in the perlbrew path given above) Thanks for your help! UPDATE ====== Turns out (thanks Corion) that it was an old .modulebuildrc file that had set the install_base to my home dir, so all modules based on Module::Build ended up there. In reply to perlbrew seems to ignore PERLBREW_ROOT by tospo
|
|