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
|
---|
In Section
Seekers of Perl Wisdom