in reply to Who modifies $ENV{PATH}?

child process inherit %ENV from parent process, and they can modify it, so their children inherit a totally different %ENV

perl -V ought to list any perl specific customers (like PERLLIB, PERL5OPT ...) that might modify your env

ps ps axjf ought to list any parent procs