Hi, i have this small but of code in a script.
My script opens a file for editing, and assigns
a filehandle 'TEMPLATE' to it.
I need to check in another part of the script if
it open or closed.
Is this code good enough for doing that job?
if (!(-e TEMPLATE))
{
print ("You have not opened a file!\n")
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: checking for an open filehandle? Barry Carroll
- Re: checking for an open filehandle? Jeff 'japhy/Marillion' Pinyan
