in reply to Re^2: Preventing IO::Handles from closing on destruction
in thread Preventing IO::Handles from closing on destruction

On Unix, I would try POSIX::close($fileno), which operates directly on descriptor numbers (not handles).  Not sure if that works on Windows, though, or what the equivalent would be...

Replies are listed 'Best First'.
Re^4: Preventing IO::Handles from closing on destruction
by exaethier (Initiate) on Nov 04, 2011 at 18:30 UTC
    POSIX::close() did the trick. Thanks a bunch!