X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=benchmarks%2Fcaf_vs_moose.pl;h=2634484e9125536a64b758955618713ba3017802;hb=HEAD;hp=3583bc1c59ccdad88da88fba97de761e4716b843;hpb=9df136d0ec3963a967e8ac7fdfacffa3e0d50cd9;p=gitmo%2FMoose.git diff --git a/benchmarks/caf_vs_moose.pl b/benchmarks/caf_vs_moose.pl index 3583bc1..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'); - make_immutable(); + __PACKAGE__->meta->make_immutable(); } { package MooseImmutable::NoConstructor; use Moose; has foo => (is => 'rw'); - make_immutable(inline_constructor => 0); + __PACKAGE__->meta->make_immutable(inline_constructor => 0); } { package ClassAccessorFast;