From: Shawn M Moore Date: Sat, 25 Jul 2009 15:52:07 +0000 (-0400) Subject: Clarify ro/rw a bit more X-Git-Tag: 0.89~33 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0eacfd890f541eb3cad8da2a9c775c2fe53310b3;p=gitmo%2FMoose.git Clarify ro/rw a bit more --- diff --git a/lib/Moose/Manual/Attributes.pod b/lib/Moose/Manual/Attributes.pod index 8dff639..bbf78a6 100644 --- a/lib/Moose/Manual/Attributes.pod +++ b/lib/Moose/Manual/Attributes.pod @@ -41,7 +41,9 @@ This says that all C objects have an optional read-write The options passed to C define the properties of the attribute. There are many options, but in the simplest form you just need to set C, which can be either C (read-write) or C -(read-only). +(read-only). C permits mutation of the attribute's value using the +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