On Tue, 30 Jul 2002 01:27:29 +0200, Bart Lateur wrote: >>What would be a smart way to test if a file is open ?
>Based on a filehandle? fileno(). Thanks. I had never used fileno(filehandle). It returns either undef (file closed), or 5 (file open). Is that all ? or is there more info one could get from fileno(something) ?