in reply to Re: Re: FileHandle->close() is not closing everything
in thread FileHandle->close() is not closing everything

Amazingly enough, it works
Not really, according to your reply to Abigail-II below, you are doing a pipe open. The above code is not doing that. See my reply elsewhere for a link to something which might work for you.
  • Comment on Re: Re: Re: FileHandle->close() is not closing everything