Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Exceptions and Return Codes

by Abigail (Deacon)
on Jun 29, 2001 at 18:13 UTC ( [id://92621]=note: print w/replies, xml ) Need Help??


in reply to Re: Exceptions and Return Codes
in thread Exceptions and Return Codes

The disadvantage of using a bomb function is that it only performs the intended task if you use bomb. No CPAN module will do so. If you use a __DIE__ handler, you will catch all dies, including those from modules.

And it has the added benefit that if someone else has to maintain the code, she won't be wondering what this bomb function is for.

-- Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-24 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found