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
<=>
.
--
Randal L. Schwartz, Perl hacker
Comment on
RE: Re: Sorting Arrays
Select
or
Download
Code
In Section
Seekers of Perl Wisdom