X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FPurePerl.pm;h=2890b283702dccb71b2531978905097ceb19c700;hb=29cb82b7c53a275a299076477c09d5cbe4f2d160;hp=f6c5e5bb66470a65a8c613d279a188db6c3cd2e2;hpb=e9148d131f7c3d6a1e3fc9e7c491f80fb5dde90b;p=gitmo%2FMouse.git diff --git a/lib/Mouse/PurePerl.pm b/lib/Mouse/PurePerl.pm index f6c5e5b..2890b28 100644 --- a/lib/Mouse/PurePerl.pm +++ b/lib/Mouse/PurePerl.pm @@ -325,6 +325,8 @@ sub _initialize_object{ sub is_immutable { $_[0]->{is_immutable} } +sub __strict_constructor{ $_[0]->{strict_constructor} } + package Mouse::Meta::Role; @@ -511,6 +513,9 @@ sub name { $_[0]->{name} } sub parent { $_[0]->{parent} } sub message { $_[0]->{message} } +sub type_parameter { $_[0]->{type_parameter} } +sub __is_parameterized { exists $_[0]->{type_parameter} } + sub _compiled_type_constraint{ $_[0]->{compiled_type_constraint} } sub _compiled_type_coercion { $_[0]->{_compiled_type_coercion} } @@ -627,7 +632,7 @@ sub DESTROY { my $demolish = Mouse::Util::get_code_ref($class, 'DEMOLISH') || next; - $self->$demolish(); + $self->$demolish($Mouse::Util::in_global_destruction); } }; $@; @@ -664,7 +669,7 @@ Mouse::PurePerl - A Mouse guts in pure Perl =head1 VERSION -This document describes Mouse version 0.50 +This document describes Mouse version 0.50_01 =head1 SEE ALSO