is not guaranteed to work, much less return something random. Use List::Util's shuffle instead.@data = sort {rand < rand} @data;
In reply to Re^2: Randomly select values from array
by ikegami
in thread Randomly select values from array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |