|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^3: What's the meaning of die ref $res... ?by Utilitarian (Priest) |
| on Jan 13, 2012 at 11:15 UTC ( #947732=note: print w/ replies, xml ) | Need Help?? |
|
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."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||