Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: How to handle Errors?

by adrianh (Chancellor)
on Apr 05, 2004 at 21:33 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-03-19 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found