Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate $PERLBREW_ROOT not being set in $PERLBREW_ROOT/etc/cshrc #798

Open
WRSomsky opened this issue Mar 23, 2024 · 0 comments
Open

Alternate $PERLBREW_ROOT not being set in $PERLBREW_ROOT/etc/cshrc #798

WRSomsky opened this issue Mar 23, 2024 · 0 comments

Comments

@WRSomsky
Copy link

WRSomsky commented Mar 23, 2024

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/cshrcin parallel to what is done w/ the bashrc file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant