whole bunch of stuff
[gitmo/Class-MOP.git] / t / 103_Perl6Attribute_test.t
index 8ad155c..d9e77bf 100644 (file)
@@ -22,8 +22,8 @@ BEGIN {
     
     sub new  {
         my $class = shift;
-        bless $class->meta->construct_instance(@_) => $class;
-    }        
+        $class->meta->new_object(@_);
+    }      
 }
 
 my $foo = Foo->new();