Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Exceptions and Return Codes

by Abigail (Deacon)
on Jun 29, 2001 at 18:13 UTC ( #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
Node Status?
node history
Node Type: note [id://92621]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2019-12-11 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?