X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FClass%2FMOP%2FObject.pm;h=9c8c359bbea11c162f2fba1f22fe6ad3af932bd4;hb=e41d1dd685584e6461d9198a9478404025022e29;hp=041b8903779b356d3d257cb3342639fa3fec252a;hpb=90bd6daeecbec425bd30a593e0cffdb675069c0b;p=gitmo%2FClass-MOP.git diff --git a/lib/Class/MOP/Object.pm b/lib/Class/MOP/Object.pm index 041b890..9c8c359 100644 --- a/lib/Class/MOP/Object.pm +++ b/lib/Class/MOP/Object.pm @@ -6,7 +6,7 @@ use warnings; use Scalar::Util 'blessed'; -our $VERSION = '0.78'; +our $VERSION = '1.06'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; @@ -18,7 +18,7 @@ sub meta { } sub _new { - shift->meta->new_object(@_); + Class::MOP::class_of(shift)->new_object(@_); } # RANT: @@ -75,7 +75,7 @@ Stevan Little Estevan@iinteractive.comE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Infinity Interactive, Inc. +Copyright 2006-2010 by Infinity Interactive, Inc. L