my @data = 0..51; my @cards = sort { (-1,1)[rand(2)] } @data ;
Graciliano M. P.
"The creativity is the expression of the liberty".
In reply to Re: Answer: How do I shuffle an array?
by gmpassos
in thread How do I shuffle an array?
by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |