it should be the same values that are picked more or less often than expected
Agreed.
abs($stats{$_} - 3 * $n)/$n ought to converge towards zero. And that does.
Agreed. My test is broken. Using absolute variances instead of a percentages, hides that they actually do converge.
In reply to Re^10: Array problem
by BrowserUk
in thread Array problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |