http://www.perlmonks.org?node_id=522848


in reply to %ENV setting not exported to child process?

Yeah it's wierd. FWIW, it's hard to tell from your example if the problem is really related to exporting (i.e. you aren't checking $?; you should print the contents of $out; you should probably use the fullpath to 'echo' and not rely on the shell built-in or your PATH).