Re: Design Pattern for Validation

[email protected] (Cory Watson)
Newsgroups perl.moose
Message-ID <[email protected]>
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::Verifier

Which 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.