Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: What's the meaning of die ref $res... ?

by Utilitarian (Vicar)
on Jan 13, 2012 at 11:15 UTC ( #947732=note: print w/ replies, xml ) Need Help??


in reply to Re^2: What's the meaning of die ref $res... ?
in thread What's the meaning of die ref $res... ?

Indeed, until you know what it's called (at which point you probably understand it) searching for the ternary op can be difficult ;)

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."


Comment on Re^3: What's the meaning of die ref $res... ?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2014-07-22 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (127 votes), past polls