From: Ævar Arnfjörð Bjarmason Date: Wed, 2 May 2012 21:42:49 +0000 (+0000) Subject: Moose FAQ: Expand "Can I turn off type constraint checking?" X-Git-Tag: 2.0603~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=31c248bf3c003492975ce3f29dbe81fc6f78f655;p=gitmo%2FMoose.git Moose FAQ: Expand "Can I turn off type constraint checking?" Expand the "Can I turn off type constraint checking?" beyond just "no" to "you can do it with a MooseX extension". The shiny new extension happens to be mine, but also point out that if it doesn't do what you want it's easy to override the default behavior. --- diff --git a/lib/Moose/Manual/FAQ.pod b/lib/Moose/Manual/FAQ.pod index e4294d8..5a8cda0 100644 --- a/lib/Moose/Manual/FAQ.pod +++ b/lib/Moose/Manual/FAQ.pod @@ -266,7 +266,13 @@ C constraint check. =head3 Can I turn off type constraint checking? -Not yet. This option may come in a future release. +There's no support for it in the core of Moose yet. This option may +come in a future release. + +Meanwhile there's a L that +allows you to do this on a per-attribute basis, and if it doesn't do +what you it's easy to write one that fits your use case. =head3 My coercions stopped working with recent Moose, why did you break it?