Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
My current @inc is c:/perl/lib and c:/perl/site/lib. How do I add so perl will also search the folder where I am runing the script?. I read in about.com that "." is use so that perl will search from the current folder.
But how to add "." in @inc?janitored by ybiC: Retitle from less-than-descriptive "@inc" because one-word nodetitles hinder site search, also minor format tweaks for legibility.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Add current working directory to @INC?
by gaal (Parson) on Jul 18, 2004 at 06:32 UTC | |
by ihb (Deacon) on Jul 18, 2004 at 18:30 UTC | |
|
Re: Add current working directory to @INC?
by Anonymous Monk on Jul 18, 2004 at 09:51 UTC | |
by bart (Canon) on Jul 18, 2004 at 10:13 UTC | |
by wfsp (Abbot) on Jul 18, 2004 at 11:01 UTC | |
by Forsaken (Friar) on Jul 18, 2004 at 16:36 UTC |