Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: Does eval cause that much of a performance hit?

by grinder (Bishop)
on May 06, 2009 at 15:02 UTC ( #762296=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Does eval cause that much of a performance hit?
in thread Does eval cause that much of a performance hit?

I don't think the topic has drifted.

The point I wanted to make was that a ternary conditional is a viable alternative to introducing a scope (a 3-line if), if statement modifiers are not favoured by local shop practices. (Which is a reasonable edict, even if I don't agree with it myself).

I'm not sure where you saw the explicit undef?

There was none. It came about in my snippet from employing a ternary, which requires one to put something "in the else" part.

• another intruder with the mooring in the heart of the Perl


Comment on Re^5: Does eval cause that much of a performance hit?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2015-07-06 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (78 votes), past polls