In a Solaris window on a "mysterious production system," I run a Perl script that references an environment variable. Nothing wrong.
The contents of this variable from the shell, both before and after execution, is what I expect.
However, when the script is reported, it looks like it is running in some other sub-shell that compresses my var with different values ββfor the duration of the script.
Unfortunately, I really can't paste the code. I am trying to get an atomic case, but here I am here.
source
share