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


in reply to Re: Detect whether a writeable filehandle has closed?
in thread Detect whether a writeable filehandle has closed?

Maybe an END block in the child could signal that the filehandle is gone

The child is not perl, it's a compiled C program.