the file $PERLBREW_ROOT/etc/bashrc get a line at top to set the alternate root thusly:
export PERLBREW_ROOT=/tmp/perlbrew
The file $PERLBREW_ROOT/etc/cshrc should have a similar line (see below), but does not:
setenv PERLBREW_ROOT /tmp/perlbrew
This causes perlbrew w/ an alternate $PERLBREW_ROOT to fail when used with csh/tcsh unless $PERLBREW_ROOT is set by the user before invoking 'source <...>/etc/cshrc'. The above mentioned line should be added to $PERLBREW_ROOT/etc/cshrcin parallel to what is done w/ the bashrc file.
If you install perlbrew with an alternate $PERLBREW_ROOT say via:
the file
$PERLBREW_ROOT/etc/bashrc
get a line at top to set the alternate root thusly:The file
$PERLBREW_ROOT/etc/cshrc
should have a similar line (see below), but does not:This causes perlbrew w/ an alternate $PERLBREW_ROOT to fail when used with csh/tcsh unless $PERLBREW_ROOT is set by the user before invoking 'source <...>/etc/cshrc'. The above mentioned line should be added to
$PERLBREW_ROOT/etc/cshrc
in parallel to what is done w/ thebashrc
file.