From: Shawn M Moore Date: Sun, 21 Jun 2009 18:21:39 +0000 (-0400) Subject: reader and writer being the same method does not work X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bd857054d0772af174d9ca4c76ac138dde5eb976;p=gitmo%2Fmoose-presentations.git reader and writer being the same method does not work --- diff --git a/moose-class/slides/index.html b/moose-class/slides/index.html index 4c0ffb8..ea20e48 100644 --- a/moose-class/slides/index.html +++ b/moose-class/slides/index.html @@ -2064,8 +2064,7 @@ has '+first_name' => ( use Moose; has first_name => ( - reader => 'first_name', - writer => 'first_name', + accessor => 'first_name', );