Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 exploiting the Monastery: (7)
As of 2015-07-02 04:54 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 (27 votes), past polls