Dami Laurent (PJ) wrote: > Hi Catalysters, > > In our organization we are building a Catalyst app where form items have > nested names (i.e. <input name="foo.2.bar.5">) and the whole form data > is then expanded into a Perl tree through CGI::Expand. Next I need to > validate the shape of that tree (type of nodes, absence/presence/size of > subtrees, etc.). As far as I know, existing validation modules like > Data::FormValidator or Html::Widget::Constraint do not go that far. So > attached is a new proposal, still experimental, called Data::Domain (not > yet on CPAN). I'm interested to hear about any > comments/suggestions/collaboration proposals, or just to know if other > people have similar needs.
Looks a lot like http://search.cpan.org/~phaylon/Declare-Constraints-Simple-0.03/ to me. -- Matt S Trout Offering custom development, consultancy and support Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ + _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
