kdjantzen has asked for the wisdom of the Perl Monks concerning the following question:
after having learned through the answer to my previuos submission how to correctly specify the enviroment variable for a "use lib ..." statement I now found out that indepent of what I specify the directories appear in @INC in a specifc sequence.
In the environment variable I specify:
/home/.../MyTest:/home/.../home/MyModules
because I want use the modifications of certain modules located in MyTest instead of the appropriate unchanged modules in MyModules.
In @INC my directories always are listed as
... MyModules
... MyTest
other directories
My question:
How can I ensure that in @INC my directories are in the sequence that I specified?
Thanks for your help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: @INC: search sequence of directories
by shigetsu (Hermit) on Apr 25, 2007 at 09:49 UTC | |
|
Re: @INC: search sequence of directories
by varian (Chaplain) on Apr 25, 2007 at 10:02 UTC | |
by kdjantzen (Acolyte) on Apr 25, 2007 at 10:41 UTC | |
|
Re: @INC: search sequence of directories
by almut (Canon) on Apr 25, 2007 at 11:41 UTC | |
by kdjantzen (Acolyte) on Apr 25, 2007 at 12:49 UTC | |
by almut (Canon) on Apr 25, 2007 at 13:15 UTC | |
by kdjantzen (Acolyte) on Apr 28, 2007 at 11:12 UTC |