reader and writer being the same method does not work
Shawn M Moore [Sun, 21 Jun 2009 18:21:39 +0000 (14:21 -0400)]
moose-class/slides/index.html

index 4c0ffb8..ea20e48 100644 (file)
@@ -2064,8 +2064,7 @@ has '<span class="highlight">+first_name</span>' =&gt; (
 use Moose;
 
 has first_name =&gt; (
-    <span class="highlight">reader</span> =&gt; 'first_name',
-    <span class="highlight">writer</span> =&gt; 'first_name',
+    <span class="highlight">accessor</span> =&gt; 'first_name',
 );</code></pre>
 
   <ul>