5ca64f
# invoke local::lib
5ca64f
5ca64f
# default -- invoke local::lib for all users
5ca64f
PERL_HOMEDIR=1
5ca64f
5ca64f
# load our configs, aka opportunities to set PERL_HOMEDIR=0
5ca64f
[ -f /etc/sysconfig/perl-homedir ] && . /etc/sysconfig/perl-homedir
5ca64f
[ -f $HOME/.perl-homedir         ] && . $HOME/.perl-homedir
5ca64f
5ca64f
alias perlll='eval `perl -Mlocal::lib`'
5ca64f
5ca64f
# if system default
5ca64f
if [ "x$PERL_HOMEDIR" = "x1" ] ; then
5ca64f
5ca64f
    eval `perl -Mlocal::lib`
5ca64f
fi