nop has asked for the wisdom of the Perl Monks concerning the following question:
I do some substitutions, say a->t and v->z, yielding@a = qw(a d v x)
More often than not, these substitutions take @newa out of alphabetical order.@newa = ('t', 'd', 'z', 'x')
is alphabetized... I don't just want sort @newa, I need the sortindex... Cant quite get the Schwartzian Transform right... Thanks...@newa[@sortindex]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sort index (head cold)
by kschwab (Vicar) on Feb 02, 2001 at 21:16 UTC | |
by nop (Hermit) on Feb 02, 2001 at 21:20 UTC | |
|
Re: sort index (head cold)
by Fastolfe (Vicar) on Feb 02, 2001 at 21:17 UTC | |
|
Re: sort index (head cold)
by coolmichael (Deacon) on Feb 05, 2001 at 12:14 UTC |