How about
use POSIX qw[ close ]; POSIX::close( $_ ) for 3 .. 1024; ## Arbitrary upper bound
This seems to work ok on win32 which isn't the most posix-complient beast in the world.
In reply to Re: Close all open file descriptors
by BrowserUk
in thread Close all open file descriptors
by bschmer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |