oops, put Object::_new back in for Moose
Yuval Kogman [Wed, 13 Aug 2008 22:20:27 +0000 (22:20 +0000)]
lib/Class/MOP/Object.pm

index 1b7d2c5..9d4fd8d 100644 (file)
@@ -16,6 +16,10 @@ sub meta {
     Class::MOP::Class->initialize(blessed($_[0]) || $_[0]);
 }
 
+sub _new {
+    shift->meta->new_object(@_);
+}
+
 # RANT:
 # Cmon, how many times have you written 
 # the following code while debugging: