Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-01-16 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.