Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Checking the success of eval

by satchboost (Scribe)
on Apr 21, 2001 at 00:16 UTC ( [id://74306]=note: print w/replies, xml ) Need Help??


in reply to Checking the success of eval

I hate to say it, but ... Duh! :) $@ was provided for a reson. I personally don't like to assume that a "standard" return value will work if "The Powers That Be"(tm) have provided another method of checking success. Things like eval and $@ are a perfect example.

It's good of you to post it, though. I never knew about eval returning undef if it failed. :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found