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
In reply to Re: Use lib() and require
by merlyn
in thread Use lib() and require
by costas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |