Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Style Point: Catching eval { } errors

by Beechbone (Pilgrim)
on Nov 27, 2003 at 03:21 UTC ( #310459=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    eval {
        # Do stuff
    }; if (my $e = $@) {
        # Handle any errors
    }
    
  2. or download this
    eval {
        # Do stuff
    ...
        }
        # Handle any errors
    }
    

Log In?
Username:
Password:

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

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

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








    Results (241 votes), past polls