Peter Gordon wrote:
I am trying to find a decent design pattern for Moose validation of user input. All the Moose examples I have found either assume that the data is correct or else dies.
<snip> You might be interested in using: https://metacpan.org/module/Data::VerifierWhich lets you filter, verify and report failures using the same Moose types you are using in your classes.
Bonus: Data::Manager may also be useful to you. -- Cory G Watson http://www.onemogin.com