Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
How do you specify which fields to sort by when sorting an array.by brentheigold (Novice) |
on Jul 14, 2002 at 22:39 UTC ( [id://181658]=perlquestion: print w/replies, xml ) | Need Help?? |
brentheigold has asked for the wisdom of the Perl Monks concerning the following question:
Say for example I had an array that I created by reading in a file, so: Then if I wanted to do an ascending sort on the @outputRef array ONLY BY name and phone number, how would I do that? I would really appreciate help on this, if you know how to do this then thanks a lot in advance. Brent.
Back to
Seekers of Perl Wisdom
|
|