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

Re^2: How to handle Errors?

by adrianh (Chancellor)
on Apr 05, 2004 at 21:33 UTC ( #342757=note: print w/replies, xml ) Need Help??


in reply to •Re: How to handle Errors?
in thread How to handle Errors?

Class::Exception to create the nested error classes,

Exception::Class... m'thinks :-) (which I agree is very nice)

and Error to create syntax to catch exceptions.

I have to admit I shun the syntactic sugar and just use plain old if statements. Avoids the whole accidentally-creating-closures issue / memory leak issues.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2023-02-05 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?