in reply to Setting up perlbrew for Linux and Solaris
I don't understand the question :)
I think the answer is either-or, pick-one :)
It is based on reading
our $PERLBREW_ROOT = $ENV{PERLBREW_ROOT} || "$ENV{HOME}/perl5/perlbrew
139: setenv PERLBREW_ROOT "$HOME/perl5/perlbrew" 149: setenv PERLBREW_PATH "$PERLBREW_ROOT/bin"
PERLBREW_ROOT
By default, perlbrew builds and installs perls into $ENV{HOME}/perl5/perlbrew directory. To use a different directory, set this environment variable in your bashrc to the directory before running perlbrew.
If you specify PERLBREW_HOME, you will also need to specify both PERLBREW_HOME and PERLBREW_ROOT when you first install perlbrew. After that, you'll need to make sure PERLBREW_HOME is exported when you log in, before you source $PERLBREW_ROOT/etc/bashrc (or cshrc). Example .bashrc:# on machine a $ PERLBREW_HOME=~/.perlbrew-a PERLBREW_ROOT=~/perl5/perlbrew-a ./perl +brew install # on machine b $ PERLBREW_HOME=~/.perlbrew-b PERLBREW_ROOT=~/perl5/perlbrew-b ./perl +brew install
|
|---|