Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
i have three arrays:
@arr_thumbnail
@arr_url
@arr_score
they are in sequential order, eg, The thumbnail $arr_thumbnail[5] has a target of $arr_url[5] with a score of $arr_score[5].
I want to sort by "score", while the corresponding thumbnail and url will still be linked to the score. I know it would be very easy if i'm using a sql table, but it seems too overkill , are there any way to sort it without using sql?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how to sort
by Corion (Patriarch) on Sep 13, 2013 at 13:06 UTC | |
Re: how to sort
by glenn (Scribe) on Sep 13, 2013 at 14:01 UTC | |
Re: how to sort
by Anonymous Monk on Sep 13, 2013 at 16:31 UTC | |
Re: how to sort
by Marshall (Canon) on Sep 13, 2013 at 13:40 UTC |
Back to
Seekers of Perl Wisdom