Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: capture errors from eval

by sdetweil (Sexton)
on Sep 23, 2012 at 21:19 UTC ( #995255=note: print w/ replies, xml ) Need Help??


in reply to Re: capture errors from eval
in thread capture errors from eval

sorry, dumb answer.. only tested in one of two places.. this works great and $@ contains the error text..

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2016-06-28 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (360 votes). Check out past polls.