![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
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 In reply to Re: Exceptions and Return Codes
by Abigail
|
|