If you have modules installed in a non-standard place, the $PERL5LIB environment variable is your friend. When set, it will eliminate the need to put use lib '/somewhere/odd' in all of your scripts. Of course, it takes a little prep work to ensure that $PERL5LIB is always being set in whatever environment the script is being executed, but it will be well worth the time down the road.
-Blake
In reply to Re: perl can't find my modules
by blakem
in thread perl can't find my modules
by idunno
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |