The Fisher-Yates shuffle is usually written like this:No, the Fisher-Yates shuffle is only written that way by people who don't understand what they're doing.
See the discussion on page 122 of Perl Cookbook for why.
In reply to Re: Re: Array Shuffler
by Dominus
in thread Array Shuffler
by zencrypt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |