If I am writing a Perl script that overwrites STDERR with a duplicate of STDOUT but I never restore the filehandle, what happens at the end of script execution? I can't find anything that warns against what actually occurs or doesn't occur.
I'm probably misinformed but thanks for your patience.
kill 9, $$
. Although it appears that there are some minor remaining issues with that on a few platforms. – Wilhelm