in reply to Use lib() and require
Remember that @INC includes "dot" (the current directory) except in taint mode. But also recall that this means the current directory of the running process, not necessarily the directory of the original script. So, if your subprograms are contained within the directory of the running process, you'll not need to extend @INC.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Use lib() and require
by tye (Sage) on Apr 06, 2001 at 18:25 UTC |