![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re^2: rand + shift || popby davies (Monsignor) |
on Dec 22, 2010 at 15:54 UTC ( [id://878576]=note: print w/replies, xml ) | Need Help?? |
If the array is being used as a grab bag and order doesn't matter, you could use the "pack of cards" algorithm I mentioned in Re: getting random number 8 times never the same and Re: Random data generation.. Regards, John Davies
In Section
Seekers of Perl Wisdom
|
|