in reply to Re^2: Setting Environment variables in Perl
in thread Setting Environment variables in Perl
Yes,
a process can never change the environment variables of a parent process, which is what would happen if FOO was still there when the script finished (a perl script runs in a child process from your shell).
/Hacker