X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=examples%2FPerl6Attribute.pod;h=930c6cdee6a43cfcf0891e1249dd8e7e52af3516;hb=5659d76e5bb87873fa7c80efdf1cce8c40d40237;hp=95cf71b2e9d5682d02eeed8ce0af9fd929a83ff4;hpb=526ba574c9dfda8f386f44c36a7f05d815155deb;p=gitmo%2FClass-MOP.git diff --git a/examples/Perl6Attribute.pod b/examples/Perl6Attribute.pod index 95cf71b..930c6cd 100644 --- a/examples/Perl6Attribute.pod +++ b/examples/Perl6Attribute.pod @@ -47,7 +47,7 @@ Perl6Attribute - An example attribute metaclass for Perl 6 style attributes sub new { my $class = shift; - bless $class->meta->construct_instance(@_) => $class; + $class->meta->new_object(@_); } =head1 DESCRIPTION