in reply to Re: Changing @INC path detail
in thread Changing @INC path detail
If you have a script like this:
the use is evaluated before the # modify @ING line.# modify @INC use Some::Module;
You see, it's not as easy at it looks, which is why use lib $path; is recommended. (It checks for duplicate entries in @INC as well, which is another advantage).
|
---|