X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=benchmarks%2Fcaf_vs_moose.pl;h=2634484e9125536a64b758955618713ba3017802;hb=ef2f720ebb1e5fdc5f5aeebfbc00e8346b2d4a4e;hp=d9c8d8b433a57039b827e74dca80331d6139a06c;hpb=f02c03d6b01452536d3e3b189438d73cf16568a2;p=gitmo%2FMoose.git diff --git a/benchmarks/caf_vs_moose.pl b/benchmarks/caf_vs_moose.pl index d9c8d8b..2634484 100644 --- a/benchmarks/caf_vs_moose.pl +++ b/benchmarks/caf_vs_moose.pl @@ -11,13 +11,13 @@ package MooseImmutable; use Moose; has foo => (is => 'rw'); - metaclass->make_immutable(); + __PACKAGE__->meta->make_immutable(); } { package MooseImmutable::NoConstructor; use Moose; has foo => (is => 'rw'); - metaclass->make_immutable(inline_constructor => 0); + __PACKAGE__->meta->make_immutable(inline_constructor => 0); } { package ClassAccessorFast;