in reply to how to close all files
Start at 0 if you want to close stdin stdout and stderr also.
use POSIX (); ... POSIX::close( $_ ) for 3 .. 1024; ## Arbitrary upper bound
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to close all files
by eleron (Novice) on Oct 24, 2008 at 09:40 UTC |