On Tue Dec 08 21:55:29 2009, RSAVAGE wrote:
Show quoted text> Hi Folks
>
> Great module. Thanx.
>
> In Data::Verifier::Results, you refer to values() rather than valid(),
> to get the results.
>
> Also, the docs for values/valid should say it returns an array of field
> names whose values are valid, not a hashref.
>
> Also, in Data::Verifier, the hashref passed in to verify must not
> contain keys not in the profile. This should be documented.
>
> TIA.
Thanks for the ticket!
The docs will be updated shortly in the next release, but I'm not sure
what you mean by your last report.
I put a quick test at
http://github.com/gphat/data-verifier/blob/master/t/10-toomany.t
Is this what you are talking about? If so, the extra keys simply are
ignored and are not part of the available validation profile.
I just want to clarify before clarifying any docs :)
Thanks,
-J