Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-02-13 20:01 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (443 votes), past polls