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...
In reply to Re^3: Preventing IO::Handles from closing on destruction
by Eliya
in thread Preventing IO::Handles from closing on destruction
by exaethier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |