Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2015-03-27 22:24 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (620 votes), past polls