Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Exception Safe Perl

by xdg (Monsignor)
on Aug 15, 2005 at 23:36 UTC ( [id://484027]=note: print w/replies, xml ) Need Help??


in reply to Exception Safe Perl

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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found