|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: use lib in cgi envby fullermd (Curate) |
| on Nov 06, 2012 at 00:15 UTC ( #1002403=note: print w/ replies, xml ) | Need Help?? |
|
I have a common little snippet I drop at the top of a lot of projects, to set use lookup paths relative to the running binary.
Then you can have
and just use Foo, relocating the whole project at will. Obviously not perfect against the case of you running the script via alternate hardlinks or such, but...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||