The best way to unsort an array? Sort it!!
OK, I couldn't resist golfing it.@a=0..20;$,=" "; print sort {1-int rand 3} @a;
In reply to Re: Randomising an array
by starbolin
in thread Randomising an array
by tamaguchi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |