perlquestion
Sprad
According to the Camel, filehandles will automatically close if they're re-open()ed. And I'd bet they also close when the program terminates. But do they ever close at any other time?
<p>
For instance, say I have this sub:
<br>
<code>
sub writefile {
open (FILE, ">>myfile.txt");
print FILE "hello\n";
}
</code>
Will myfile.txt still be in use outside of writefile()?
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-64446">
<p>
<font size = -1>---<br>
A fair fight is a sign of poor planning.</font>
</div></div>