X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FPurePerl.pm;h=2890b283702dccb71b2531978905097ceb19c700;hp=2895feea959b94a98fac77f14f2a2948e80a023a;hb=e128626c409797822ffd8a4079f833eb3dc0fd37;hpb=ba1f50a24cf3b5c5a96ded5f68b030797bf17dd5 diff --git a/lib/Mouse/PurePerl.pm b/lib/Mouse/PurePerl.pm index 2895fee..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.46 +This document describes Mouse version 0.50_01 =head1 SEE ALSO