Doc using the new method->execute API
[gitmo/Class-MOP.git] / lib / Class / MOP / Method / Accessor.pm
index ef4e34e..f3fc93c 100644 (file)
@@ -201,7 +201,7 @@ Class::MOP::Method::Accessor - Method Meta Object for accessors
         accessor_type => 'reader',
     );
 
-    $reader->body->($instance); # call the reader method
+    $reader->body->execute($instance); # call the reader method
 
 =head1 DESCRIPTION