X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=examples%2FInsideOutClass.pod;h=653f9171fe5c5122fdd95fead18175e7e02cea8e;hb=5659d76e5bb87873fa7c80efdf1cce8c40d40237;hp=d82cd03dada33b44faf42dce070e8a2e1ba97861;hpb=526ba574c9dfda8f386f44c36a7f05d815155deb;p=gitmo%2FClass-MOP.git diff --git a/examples/InsideOutClass.pod b/examples/InsideOutClass.pod index d82cd03..653f917 100644 --- a/examples/InsideOutClass.pod +++ b/examples/InsideOutClass.pod @@ -104,8 +104,8 @@ InsideOutClass - A set of example metaclasses which implement the Inside-Out tec sub new { my $class = shift; - bless $class->meta->construct_instance(@_) => $class; - } + $class->meta->new_object(@_); + } # now you can just use the class as normal