Monolith-0 has asked for the wisdom of the Perl Monks concerning the following question:
For example... start with:
then sort and get:@stuff_list = ( 'b','t','e','s','u','i' ); @list_order = ( 0 , 1 , 2 , 3 , 4 , 5 );
And then use @list_order to access the actual values.@stuff_list = ( 'b','t','e','s','u','i' ); @list_order = ( 0 , 2 , 5 , 3 , 1 , 4 );
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I sort into an index?
by Monolith-0 (Beadle) on Feb 24, 2001 at 05:41 UTC | |
|
Re: How do I sort into an index?
by tye (Sage) on Feb 23, 2001 at 11:20 UTC | |
|
Re: How do I sort into an index?
by Soul Singin' (Initiate) on Sep 13, 2010 at 07:36 UTC | |
|
Re: How do I sort into an index?
by Soul Singin' (Initiate) on Sep 14, 2010 at 02:26 UTC | |
|
Re: How do I sort into an index?
by 2501 (Pilgrim) on Feb 23, 2001 at 18:12 UTC |