Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2023-03-22 15:35 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.