in reply to Re^3: Problems with Setenv within Perl
in thread Problems with Setenv within Perl

That seems like a confusing way to look at it. At least under Unix, setting %ENV will set the environment variable in the running Perl process. That environment is inherited by all processes which are started from that process. The environment is never "changed back"; when the process exits, its environment goes away with all of its other data.