From: Dave Rolsky Date: Thu, 14 Oct 2010 18:46:23 +0000 (-0500) Subject: Mention default is as well X-Git-Tag: 1.16~43 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b79a1a50846cab298dfad2d67f9579c1159ba2cc;p=gitmo%2FMoose.git Mention default is as well --- diff --git a/lib/Moose/Meta/Attribute/Native.pm b/lib/Moose/Meta/Attribute/Native.pm index f4b2305..dc3e5aa 100644 --- a/lib/Moose/Meta/Attribute/Native.pm +++ b/lib/Moose/Meta/Attribute/Native.pm @@ -107,9 +107,16 @@ delegation. See the docs for each native trait for details on what methods are available. +=head2 is + +Some traits provide a default C for historical reasons. This behavior is +deprecated, and you are strongly encourage to provide a value. If you don't +plan to read and write the attribute value directly, you can set C<< is => +'bare' >> to prevent standard accessor generation. + =head2 default or builder -Some traits provide a "default default" for historical reasons. This behavior +Some traits provide a default C for historical reasons. This behavior is deprecated, and you are strongly encouraged to provide a default value or make the attribute required.