In the documentation for the params option, there is conflicting information on what the value of named_to_list means:
If you pass an arrayref and named_to_list is false, the validator will expect positional params. Each element of the params arrayref should be a parameter spec.
If you pass an arrayref and named_to_list is false, the validator will expect named params, but will return a list of values. In this case the arrayref should contain a list of key/value pairs, where parameter names are the keys and the specs are the values.
In the documentation for the
params
option, there is conflicting information on what the value ofnamed_to_list
means:I'm guessing the second false should be true