in reply to Re: use lib connundrum
in thread use lib connundrum
There's also no guarantee that you're going to have a HOME environment variable either.More importantly, it'll definitely be the wrong HOME if I run your script rather than you.
Even your second solution is wrong in this respect.
The only solution is to fully hard-code the path. That's the point of "use lib", anyway!
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|