Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
RE (tilly) (something): Hashing the order out of an array (Re: Randomize an array)by tilly (Archbishop) |
on Sep 11, 2000 at 23:57 UTC ( [id://31963]=note: print w/replies, xml ) | Need Help?? |
It is indeed not quite my test. However in this case your test sensitive to the non-randomness since a single hash
bucket tends to form a rising string of numbers. However the test that I suggested is more sensitive to finding a fresh deck of cards that is not very well shuffled. (Which is where I first heard of this test. Trust me, I did not invent this one. :-)
In Section
Seekers of Perl Wisdom
|
|