Perl Monk, Perl Meditation | |
PerlMonks |
Re: how do I sort on two fields in a hash table?by lhoward (Vicar) |
on Mar 15, 2001 at 22:50 UTC ( [id://64748]=note: print w/replies, xml ) | Need Help?? |
If @data is large you may want to use a Schwartzian Transform (or other method of improving sort performance). BTW, @data would more properly be called a "list of hashes".
In Section
Seekers of Perl Wisdom
|
|