Perl include question
Thomas Charron
twaffle at gmail.com
Mon Dec 5 16:59:09 EST 2005
On 12/5/05, Cole Tuininga <colet at code-energy.com> wrote:
>
> 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
Yeppers.. ;-) It was a quick reply, didn't have time to fully explain
it. But it's all in the use lib line. ;-)
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20051205/fff8fb5a/attachment.html
More information about the gnhlug-discuss
mailing list