in reply to Re: biased random number pickingin thread biased random number picking
my $choice = int(rand($#options + 1)); say 'Choice #', $_, ' is ', $options[$choice]; $options[$choice] = $options[-1]; pop @options; [download]