---
This will close all existing file handles except for the 'standard'
ones being ARGV, STDIN, STDOUT, STDERR, stdin, stdout and stderr.
It simply searches the symbol table for file handles and, if they
aren't the standard file handles, closes them.
H
On Thursday 23 August 2001 20:20, Gupta, Ashish wrote:
> I open lots of file descriptors in a script.
> At one point, I want to close all the opened file descriptors (except for
> stdin, stdout, stderr).
> Is there a way to close all the opened file descriptors without having a
> list of the hand
I open lots of file descriptors in a script.
At one point, I want to close all the opened file descriptors (except for
stdin, stdout, stderr).
Is there a way to close all the opened file descriptors without having a
list of the handles ?
***