Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Best Practices for Exception Handling

by thraxil (Prior)
on Jan 28, 2003 at 23:28 UTC ( #230804=note: print w/ replies, xml ) Need Help??


in reply to Best Practices for Exception Handling

Matt Sergeant points out (pdf) that Error.pm's try/catch is implemented with a function prototype of & that can create nastly, unexpected closures. his recommendation is to use Error.pm but use eval instead of the try/catch syntactic sugar.

anders pearson


Comment on Re: Best Practices for Exception Handling

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2015-07-04 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls