in reply to Re: Sorting Arrays
in thread Sorting Arrays
Nope. You're using an array slice @x[$y] where you really
want an element $x[$y]. And as pointed out elsewhere, you're using
cmp where you want <=>.
In Section
Seekers of Perl Wisdom
in reply to Re: Sorting Arrays
in thread Sorting Arrays