From: Dave Rolsky Date: Mon, 13 Sep 2010 15:28:24 +0000 (-0500) Subject: Clarify that coerce requires a TC with a coercion X-Git-Tag: 1.13~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3b98ba07048bd4e9eb4f24b4ad45647406262ebb;p=gitmo%2FMoose.git Clarify that coerce requires a TC with a coercion --- diff --git a/lib/Moose/Meta/Attribute.pm b/lib/Moose/Meta/Attribute.pm index fd61cba..b2b5c46 100644 --- a/lib/Moose/Meta/Attribute.pm +++ b/lib/Moose/Meta/Attribute.pm @@ -836,7 +836,7 @@ object which does the named role. =item * coerce => $bool This option is only valid for objects with a type constraint -(C). If this is true, then coercions will be applied whenever +(C) that defined a coercion. If this is true, then coercions will be applied whenever this attribute is set. You can make both this and the C option true.