in reply to
Re: Weighted random selection
in thread
Weighted random selection
Yep... which points to
Rolling a biased die
, where a very good solution was already presented.
Comment on
Re^2: Weighted random selection
In Section
Seekers of Perl Wisdom