The stupid question is the question not asked | |
PerlMonks |
close or dieby PerlingTheUK (Hermit) |
on Nov 11, 2004 at 22:34 UTC ( [id://407204]=note: print w/replies, xml ) | Need Help?? |
This caught my eye. Sorry for being pedant but we are opening files here, so - unless you mistype your file handle, - you can always close a filehandle. Or am I wrong? So there is no benefit of dieing on close. If we do not need to reset $., we need not even close it. Cheers, PerlingTheUK
In Section
Seekers of Perl Wisdom
|
|