in reply to
Biased random number selection
I did one of those for an
early WebTechniques Perl column
. The algorithm is different from the one that the Cookbook uses, but achieves the same results.
--
Randal L. Schwartz, Perl hacker
Comment on
RE: Biased random number selection
In Section
Seekers of Perl Wisdom