Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Nested evals - are they evil?

by cLive ;-) (Parson)
on Jul 30, 2007 at 22:34 UTC ( #629680=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    eval
    {
    ...
    {
        confess "CallMethod failed: $@";
    }
    
  2. or download this
    sub callMethod
    {
        # blah blah
    ...
            confess "someMoreCode failed: $@";
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://629680]
Approved by FunkyMonk
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-07-12 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls