in reply to Re: Uniq and sort in perl
in thread Uniq and sort in perl
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