In reply to Re^2: Weighted random selection by cosmicperl in thread Weighted random selection by cosmicperl