Fellow Monks,
I have a script which runs on several computers. On one computer today I find out that the script to execute a program, complaining that the program is not in PATH. File::Which::which("progname") returns empty and File::Spec->path gives ("/bin", "/usr/bin"), as well as $ENV{PATH} being set to "/bin:/usr/bin". This script is not run setuid.
How do I find out who modifies $ENV{PATH}? I remember a module in CPAN which monitors %ENV for modification, but couldn't find which module. I also tried to grep for "/usr/bin" in the source code; that didn't return any clues.
In reply to Who modifies $ENV{PATH}? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |