![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: Where the perl scripts live (Russ - 'use lib' hack)by Russ (Deacon) |
on Sep 07, 2001 at 21:01 UTC ( #110943=note: print w/replies, xml ) | Need Help?? |
Noting that I do not necessarily recommend this procedure, yet use it on occasion (in an environment where I implicitly trust the user - me):
I now have access to the script's directory and can use modules located there, even though I was in another directory when I executed the script.
$Pretty-- Russ
In Section
Seekers of Perl Wisdom
|
|