whole bunch of stuff
[gitmo/Class-MOP.git] / examples / InstanceCountingClass.pod
index 92ae097..5730517 100644 (file)
@@ -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