projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
25a5f08
)
Doc using the new method->execute API
Shawn M Moore [Sat, 29 Nov 2008 01:37:57 +0000 (
01:37
+0000)]
lib/Class/MOP/Method/Accessor.pm
patch
|
blob
|
blame
|
history
lib/Class/MOP/Method/Constructor.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Method/Accessor.pm
b/lib/Class/MOP/Method/Accessor.pm
index
ef4e34e
..
f3fc93c
100644
(file)
--- a/
lib/Class/MOP/Method/Accessor.pm
+++ b/
lib/Class/MOP/Method/Accessor.pm
@@
-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
diff --git
a/lib/Class/MOP/Method/Constructor.pm
b/lib/Class/MOP/Method/Constructor.pm
index
8388a1c
..
40ed1fc
100644
(file)
--- a/
lib/Class/MOP/Method/Constructor.pm
+++ b/
lib/Class/MOP/Method/Constructor.pm
@@
-190,7
+190,7
@@
Class::MOP::Method::Constructor - Method Meta Object for constructors
);
# calling the constructor ...
- $constructor->body->($metaclass->name, %params);
+ $constructor->body->execute($metaclass->name, %params);
=head1 DESCRIPTION