Do you know where your variables are? | |
PerlMonks |
Re^2: Uniq and sort in perlby Utilitarian (Vicar) |
on Jul 12, 2012 at 15:24 UTC ( [id://981424]=note: print w/replies, xml ) | Need Help?? |
This is a very valid point, selecting only the fields you are interested in would improve performance as well as being the "correct" way to achieve this
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|