Can someone explain why this code produces key values in %stats hash that range "0" to "9"?
The key values, representing the number of elements in the random-length generated arrays should range from "1" to "10", since all generated arrays contain at least one element.
In reply to Re^2: Idiom to return 0 or random number of array elements
by Anonymous Monk
in thread Idiom to return 0 or random number of array elements
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |