|We don't bite newbies here... much|
Re: Sorting a hash of hashesby Utilitarian (Vicar)
|on May 15, 2012 at 05:05 UTC||Need Help??|
The sort function takes an optional customised sort routine wherin you compare aspects of $a and $b. perldoc -f sort.
EDIT: Corrected inline sort routine, original post made pre-coffee and shower :)
print "Good ",qw(night morning afternoon evening)[(localtime)/6]," fellow monks."