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.
In reply to @INC: search sequence of directories by kdjantzen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |