----- Original Message -----

> From: Dave Rolsky <[email protected]>


> You can use coercions to do this, can't you? You could even warn inside the 
> coercion.

Yes, and that's pretty much the advice I've taken from this discussion (thanks 
to everyone who chimed in!)

http://blogs.perl.org/users/ovid/2011/06/moose-and-fatal-type-constraints.html


Cheers,
Ovid
 
--
Live and work overseas - http://overseas-exile.blogspot.com/
Buy the book - http://www.oreilly.com/catalog/perlhks/
Tech blog - http://blogs.perl.org/users/ovid/
Twitter - http://twitter.com/OvidPerl/

Reply via email to