From: Shawn M Moore Date: Sat, 25 Jul 2009 15:54:12 +0000 (-0400) Subject: Include discussion of is => bare X-Git-Tag: 0.89~32 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=637b87354e2144844ffbd5aeacb6059d125b976b;p=gitmo%2FMoose.git Include discussion of is => bare --- diff --git a/Changes b/Changes index 3c6f222..887de48 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,10 @@ Also see Moose::Manual::Delta for more details of, and workarounds for, noteworthy changes. +next version + * Moose::Manual::Attributes + - Clarify "is", include discussion of "bare". (Sartak) + 0.88 Fri Jul 24, 2009 * Moose::Manual::Contributing - Re-write the Moose::Manual::Contributing document to reflect diff --git a/lib/Moose/Manual/Attributes.pod b/lib/Moose/Manual/Attributes.pod index bbf78a6..0c86f50 100644 --- a/lib/Moose/Manual/Attributes.pod +++ b/lib/Moose/Manual/Attributes.pod @@ -45,9 +45,13 @@ need to set C, which can be either C (read-write) or C accessor. C does not; you may only read the current value of the attribute. -(In fact, you could even omit C, but that gives you an attribute -that has no accessors, which is pointless unless you're doing some -deep, dark magic). +In fact, you could even omit C, but that gives you an attribute +that has no accessor. This can be useful with other attribute options, +such as C. However, if your attribute generates I +accessors, Moose will issue a warning, because that usually means the +programmer forgot to say the attribute is read-only or read-write. If +you really mean to have no accessors, you can silence this warning by +setting C to C. =head2 Accessor methods