Jeff Westman wrote:
Isn't there a perl function to test if a file is already open?  I could have
sworn I used one called "isopen()" or "ifopen()"  .... -or- am I getting
confused with a similar function in C?

If there isn't such a function, how would one test if a file is already open?


If you don't mind using the IO::Handle module then it provides an 'opened' method. Otherwise you may want to have a look at its source, or check out


perldoc -f fileno

Which is all the 'opened' method does...

http://danconia.org


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to