From: Arthur Axel 'fREW' Schmidt Date: Thu, 21 Jul 2011 21:48:38 +0000 (-0500) Subject: document reader and writer X-Git-Tag: v0.009011~19 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1eba910c9cdaf6560b50f9ac5d6033bde4e84c94;p=gitmo%2FMoo.git document reader and writer --- diff --git a/lib/Moo.pm b/lib/Moo.pm index 32a2d3e..8bfe1ce 100644 --- a/lib/Moo.pm +++ b/lib/Moo.pm @@ -323,6 +323,18 @@ another attribute to be set. B. Set this if the attribute must be passed on instantiation. +=item * reader + +The value of this attribute will be the name of the method to get the value of +the attribute. If you like Java style methods, you might set this to +C + +=item * writer + +The value of this attribute will be the name of the method to set the value of +the attribute. If you like Java style methods, you might set this to +C + =item * weak_ref B. Set this if you want the reference that the attribute contains to