in reply to Re: biased random number picking
in thread biased random number picking
Since rand takes an expression as its argument and there are 101 elements in @values your code is equivalent to
my $i = int( rand(101) );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: biased random number picking
by RichardK (Parson) on Jul 12, 2012 at 15:11 UTC | |
by Lotus1 (Vicar) on Jul 12, 2012 at 15:59 UTC |