XP is just a number | |
PerlMonks |
Re: Exception Safe Perlby xdg (Monsignor) |
on Aug 15, 2005 at 23:36 UTC ( [id://484027]=note: print w/replies, xml ) | Need Help?? |
I definitely recommend starting with Exception::Class. Among other things, its ability to let you define a hierarchy of exceptions should simplify what is necessary for some of your objectives (independent default types and different "levels" of errors). Update: I just noticed Simon Cozen's new article "Ten Things You (Probably) Didn't Know About Perl" on TPJ. It mentions the sigtrap pragma as another way of trapping signals. YMMV. -xdg Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Seekers of Perl Wisdom
|
|