Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Exceptions vs Context Objects

by rjray (Chaplain)
on Mar 31, 2006 at 15:13 UTC ( [id://540489]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Exceptions vs Context Objects
in thread Exceptions vs Context Objects

I understand that. It's a matter of how complex he wants to make it for those that write the extensions. They can die with a string or with a blessed object. The advantage to the object approach is that he can also manage the "just how serious is this error" question, as well.

True exception handling is one thing I like about other (more pompous) languages. Sometimes I really miss it in Perl...

--rjray

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-28 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found