in reply to
Re: Randomize an array
in thread
Randomize an array
$#array..0
doesn't go anywhere. Perhaps you meant
reverse 0..$#array
?
--
Randal L. Schwartz, Perl hacker
Comment on
RE: Re: Randomize an array
Select
or
Download
Code
Replies are listed 'Best First'.
RE: RE: Re: Randomize an array
by
BlaisePascal
(Monk)
on Sep 08, 2000 at 05:12 UTC
That's what I get for reading too much of the Perl6 RFCs... I could have sworn that ($high..$low) would count down, not up...
[reply]
In Section
Seekers of Perl Wisdom