Perl include question

Cole Tuininga colet at code-energy.com
Mon Dec 5 16:10:01 EST 2005


On Mon, 2005-12-05 at 15:59 -0500, Thomas Charron wrote:
> use lib '.';

Doesn't this assume you're executing the script from its own directory?
In other words, wouldn't this break if I did something like:

../otherpath/script.pl


-- 
"The best firewall is a pair of wire cutters."
-Unknown, from the net

Cole Tuininga
Lead Developer
Code Energy, Inc
colet at code-energy.com
PGP Key ID: 0x43E5755D





More information about the gnhlug-discuss mailing list