Use the right variable in a builder
Shawn M Moore [Sun, 21 Jun 2009 18:22:29 +0000 (14:22 -0400)]
moose-class/slides/index.html

index 2a1be67..e2d373d 100644 (file)
@@ -1914,7 +1914,7 @@ sub _build_shoes {
     my $self = shift;
 
     return Shoes->new(
-        size =&gt; <span class="highlight">$_[0]-&gt;shoe_size</span> );
+        size =&gt; <span class="highlight">$self-&gt;shoe_size</span> );
 }</code></pre>
 </div>