Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Nested evals - are they evil?

by perrin (Chancellor)
on Jul 31, 2007 at 02:12 UTC ( #629726=note: print w/replies, xml ) Need Help??


in reply to Nested evals - are they evil?

My approach to exceptions is that I never try to catch them unless I think I can do something to fix what went wrong and continue. I wrap the program at the top level to catch exceptions that nothing else has caught and print stacktraces. There's no reason to have more than one eval block if all they're going to do is print a stacktrace.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://629726]
help
Chatterbox?
[choroba]: I configured signature font to 2pt size, so I don't care
[choroba]: Moreover, I don't find the Big Lebowski quote offensive
Lady_Aleena wishes she could format her signature a bit without getting metaphorical hives.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-06-23 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (539 votes). Check out past polls.