We don't bite newbies here... much | |
PerlMonks |
Re^2: How can you check to see if a file handle is already open?by agent_smith (Scribe) |
on Jan 16, 2008 at 16:20 UTC ( [id://662706]=note: print w/replies, xml ) | Need Help?? |
Thanks for the info, but doesn't this still open possibly unnecessary file handles? Maybe I should elaborate, and perhaps ask forgiveness for not being detailed enough.
The problem with the above, is FH$3 may already be open, and I don't want to try to reopen it. And the problem with my first example is that it may open files for which I have no data, for example there was no data on the 15th, but I had opened the file anyway ( resulting in an un-needed 0 length file. Thanks again, for the help agent_smith
In Section
Seekers of Perl Wisdom
|
|