Subject: | Documentation mentions hashref but example uses arrayref. |
1) In the blurb for produce_offspring, the first parameter is described as a hashref, but the example in the synopsis uses an arrayref.
produce_offspring( $population_hashref, $how_many_I_need )
2) The example plays fast and loose with identifiers. @population is used, then later @pool, but should apparently be @population.
3) rnkeytop seems to take a code block, a length, and a list of population entries, though the fat comma is going to be misinterpreted. If the user is meant to supply rnkeytop, please call it something generic. (It's not mentioned anywhere else on the page.)