in reply to Sorting Question
I don't see any sorting going on in this code. What exactly are you trying to sort? If you are trying to sort @list, try this:
@list = sort({$a cmp $b} @list);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Sorting Question
by Roy Johnson (Monsignor) on Oct 04, 2004 at 18:49 UTC | |
by geekgrrl (Pilgrim) on Oct 04, 2004 at 18:53 UTC | |
by allolex (Curate) on Oct 05, 2004 at 16:30 UTC |