Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Catching errors in closing lexical filehandles

by diotalevi (Canon)
on Sep 28, 2004 at 11:22 UTC ( [id://394539]=note: print w/replies, xml ) Need Help??


in reply to Catching errors in closing lexical filehandles

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://394539]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-06-15 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.