laziness, impatience, and hubris | |
PerlMonks |
Re: Implicit closing of filesby johngg (Canon) |
on Jun 17, 2008 at 10:51 UTC ( [id://692464]=note: print w/replies, xml ) | Need Help?? |
I'm not sure whether there might be problems on a Windows platform, I generally use Solaris and have not had problems with implicit closing. However, I would advise the use of lexical filehandles plus the three-argument form of open and a check for success.
I hope this is of interest. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|