in reply to
RE: Randomize List of items
in thread
Randomize List of items
This looks suspiciously like the fisher-yates algorithm, described in the
FAQ
under
How do I shuffle an array randomly?
. But they don't use splice to exchange the elements. There is really no reason to use splice here.
--
ZZamboni
Comment on
RE: RE: Randomize List of items
In Section
Cool Uses for Perl