in reply to Problem with use lib?
The current directory is, by default, the last item in the @INC array. The only difference that your use lib statement makes is to make it also the first item in @INC.
It's already been suggested to you that the current directory might not be the one that contains the running script. To add the script's directory to @INC you should look at the FindBin module.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Problem with use lib?
by tye (Sage) on Dec 27, 2000 at 20:54 UTC |