X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FPurePerl.pm;h=36ef0cef0250beb2b234195b7a44dbe7e5023666;hb=823419c540f9e77090f31f11e04b14477c0372c4;hp=73374b4cd1dea0dd4e31bc598c15875df0e22f74;hpb=b4dc931582100f9ec9ec48e0ac1be81cc8e66c84;p=gitmo%2FMouse.git diff --git a/lib/Mouse/PurePerl.pm b/lib/Mouse/PurePerl.pm index 73374b4..36ef0ce 100644 --- a/lib/Mouse/PurePerl.pm +++ b/lib/Mouse/PurePerl.pm @@ -384,9 +384,8 @@ sub _initialize_object{ sub is_immutable { $_[0]->{is_immutable} } -Mouse::Util::install_subroutines(__PACKAGE__, - strict_constructor => $generate_class_accessor->('strict_constructor'), -); +sub strict_constructor; +*strict_constructor = $generate_class_accessor->('strict_constructor'); sub _report_unknown_args { my($metaclass, $attrs, $args) = @_;