Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Catching errors in closing lexical filehandlesby diotalevi (Canon) |
on Sep 28, 2004 at 11:22 UTC ( [id://394539]=note: print w/replies, xml ) | Need Help?? |
Initial Devel::UncheckedOps, a macro for perl will also let you override print $fh ... though you'll only trap the implicit $fh->close() with merlyn's setting of IO::File::DESTROY.
In Section
Seekers of Perl Wisdom
|
|