in reply to Re: Do not working as expected on Windows
in thread Do not working as expected on Windows

Using the code that works with the @INC looks like the best option for me, one question on it, I have already set some libraries to use for some special reporting code, will the use lib statement in your snippet have any negative effect?

g_White
  • Comment on Re^2: Do not working as expected on Windows

Replies are listed 'Best First'.
Re^3: Do not working as expected on Windows
by ikegami (Patriarch) on Sep 04, 2007 at 16:08 UTC

    @INC is the search path used by do, require and use. use lib adds a path to the front of @INC. That could only lead to a problem if you have two identically named modules in different paths. Then, do/require/use might load the wrong one.