Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: Exception Safe Perl
by xdg
|
|