in reply to How to verify a file handle?
But for CGI, at least in my version, you can put in a check with checking whether ref of the returned value is "Fh". That is, of course, highly dependent on the internals of CGI, and it may be a bad idea for that reason...
|
|---|