[Catalyst] General Web- and OO-question

Rodrigo rodrigolive at gmail.com
Fri Mar 27 18:29:11 GMT 2009


> I think you are missing his point.  He wants to instantiate an object from
> the form, but if he uses his Moose object then the things he wants to
> validate (errors) will prevent him from getting an instance of his class.
>  If "name" is required or isa 'Str' then if it gets an arrayref, he can't
> use the object (as either it missing or being the wrong type throws an
> exception).
>

Well, if the object gets an arrayref when it was expecting an Str then he
can't use the object and it should throw an exception.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090327/dec8b=
26f/attachment.htm


More information about the Catalyst mailing list