I believe that this resolves Abigail-IIs concern.($a=rand $_-1),@values[$_,$a] = @values[$a,$_] for (reverse 1..$#value +s);
Yves / DeMerphq
---
Software Engineering is Programming when you can't. -- E. W. Dijkstra (RIP)
In reply to Re: Fisher-Yates shuffle?
by demerphq
in thread Fisher-Yates shuffle?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |