X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FPurePerl.pm;h=7e94d87f2fe884faa950a97ffb5443cd4a16ac6c;hp=b0361c942094b0337b692607854ed327ff6c06e5;hb=7fc19c3fe6c387eea8d5275aa830b3a43016fabc;hpb=02bf7ed13ae5d43392767a38fe71e9606f1dba76 diff --git a/lib/Mouse/PurePerl.pm b/lib/Mouse/PurePerl.pm index b0361c9..7e94d87 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.48 +This document describes Mouse version 0.50_02 =head1 SEE ALSO