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


in reply to Setting $0 clears /proc/PID/environ too

I think that an argument could be made that Perl should try to preserve the contents of /proc/PID/environ when changing $0, and do a more thorough job of restoring the original command line if $0 is localized.

perlbugit

  • Comment on Re: Setting $0 clears /proc/PID/environ too