App-perlbrew
App-perlbrew copied to clipboard
Alternate $PERLBREW_ROOT not being set in $PERLBREW_ROOT/etc/cshrc
If you install perlbrew with an alternate $PERLBREW_ROOT say via:
setenv PERLBREW_ROOT /tmp/perlbrew
curl -L https://install.perlbrew.pl/ | bash
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/cshrc
in parallel to what is done w/ the bashrc
file.