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