Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Nested evals - are they evil?

by cLive ;-) (Prior)
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?
NodeReaper lights some incense and reads Tool and Die

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2017-08-20 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (316 votes). Check out past polls.

    Notices?