in reply to Re: Odd "use" problem
in thread Odd "use" problem

I wonder if there is an easy way to include ${HOME}/lib by default for all users... so using 'use lib (glob("~/lib"))[0]' is unnecessary

No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

Replies are listed 'Best First'.
Re^3: Odd "use" problem
by borisz (Canon) on Jun 11, 2004 at 16:28 UTC
    Put
    test -r $HOME/lib && export PERL5LIB=$HOME/lib
    in your /etc/profile or /etc/bash.bashrc whatever is executed for every users shell. untested ...
    Boris

      DOH!

      it must be friday

      No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1