projects
/
gitmo/Class-MOP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
whole bunch of stuff
[gitmo/Class-MOP.git]
/
examples
/
InstanceCountingClass.pod
diff --git
a/examples/InstanceCountingClass.pod
b/examples/InstanceCountingClass.pod
index
92ae097
..
5730517
100644
(file)
--- a/
examples/InstanceCountingClass.pod
+++ b/
examples/InstanceCountingClass.pod
@@
-40,7
+40,7
@@
InstanceCountingClass - An example metaclass which counts instances
sub new {
my $class = shift;
- bless $class->meta->construct_instance(@_) => $class;
+ $class->meta->new_object(@_);
}
# ... meanwhile, somewhere in the code