Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Problem with HOA.by tamaguchi (Pilgrim) |
on Aug 28, 2006 at 07:03 UTC ( [id://569938]=perlquestion: print w/replies, xml ) | Need Help?? |
tamaguchi has asked for the wisdom of the Perl Monks concerning the following question:
Suppose you have following data stucture:
How would you do in the easiest way to get out an array consisting of the first ellement in each of the internal valuearrays sorted by the keys? I.e. $array[0]=1.5, $array[1]=1.2 and $array[2]=1.3. Thank you fellow monk.
Back to
Seekers of Perl Wisdom
|
|