Blame SOURCES/perl-homedir.csh

7d02a3
# invoke local::lib
7d02a3
7d02a3
# default -- invoke local::lib for all users
7d02a3
setenv PERL_HOMEDIR 1
7d02a3
7d02a3
# load our configs, aka opportunities to set PERL_HOMEDIR=0
7d02a3
if (-f /etc/sysconfig/perl-homedir) then
7d02a3
	eval `sed -ne 's|^[[:blank:]]*\([^#=]\{1,\}\)=\([^=]*\)|setenv \1 \2;|p' /etc/sysconfig/perl-homedir`
7d02a3
endif
7d02a3
if (-f "$HOME/.perl-homedir") then
7d02a3
	eval `sed -ne 's|^[[:blank:]]*\([^#=]\{1,\}\)=\([^=]*\)|setenv \1 \2;|p' "$HOME/.perl-homedir"`
7d02a3
endif
7d02a3
7d02a3
alias perlll 'eval "`perl -Mlocal::lib`"'
7d02a3
7d02a3
# if system default
7d02a3
if ("x$PERL_HOMEDIR" == "x1") then
7d02a3
	eval "`perl -Mlocal::lib`"
7d02a3
endif
7d02a3