more useful options | |
PerlMonks |
Re^3: How can you check to see if a file handle is already open?by mifflin (Curate) |
on Jan 16, 2008 at 19:58 UTC ( [id://662748]=note: print w/replies, xml ) | Need Help?? |
Why not just use the IO::Handle package?
Use the opened method. It will tell you if a file handle is opened and ready. try the following code...
In Section
Seekers of Perl Wisdom
|
|