<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div>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 &quot;name&quot; is required or isa &#39;Str&#39; then if it gets an arrayref, he can&#39;t use the object (as either it missing or being the wrong type throws an exception).</div>
</div></blockquote><div><br>Well, if the object gets an arrayref when it was expecting an Str then he can&#39;t use the object and it should throw an exception.<br></div></div><br>