in reply to [SOLVED] Perl randomly couldn't locate a Perl module in @INC

For example if Perl does not have the appropriate read/execute permissions, it will not add the directories.

You will have to collect more data on the situations when @INC gets populated and when not. Maybe you are using different Perl interpreters?

Also, some code and a ls -lR of the relevant directory could be helpful. These directories are not network mounted or on otherwise removable devices, are they?

Replies are listed 'Best First'.
Re^2: Perl randomly couldn't locate a Perl module in @INC
by Bravo_t (Acolyte) on Jul 23, 2015 at 07:57 UTC

    Thanks for your help.

    But there should be no permission issues because the paths and files are located in my company's folder which are "public" for us. It is also the reason that I didn't give you any detailed info about this, I'm not sure what to share, what not to. I'll update my question to add the info as much as possible.

    Also, I will see if it's an issue of interpreter versions.

    Thanks again.