kprasanna_79 has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Monks,
i have an array of hashes, in which i want to sort the array with values of the hashes.
i want the @found array to be sorted on the values of hash.
I seek your wisdom in this respect.
--prasanna.k
i have an array of hashes, in which i want to sort the array with values of the hashes.
push (@found, {name => $1}) if(/*.pm/); ...
i want the @found array to be sorted on the values of hash.
I seek your wisdom in this respect.
--prasanna.k
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: sort on values in an array of hashes
by ambs (Pilgrim) on Apr 19, 2005 at 09:09 UTC | |
Re: sort on values in an array of hashes
by blazar (Canon) on Apr 19, 2005 at 09:28 UTC |
Back to
Seekers of Perl Wisdom