There's more than one way to do things | |
PerlMonks |
Re: random elements from array - new twistby traveler (Parson) |
on Nov 05, 2002 at 14:52 UTC ( [id://210467]=note: print w/replies, xml ) | Need Help?? |
You could also use Algorithm::Numerical::Shuffle which, despite the name, shuffles lists of strings, too. I have been using it reliably in a production system for a similar task for over a year with no problems.
HTH, --traveler
In Section
Seekers of Perl Wisdom
|
|