X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FPurePerl.pm;h=c0ec9a6766ea7a510dde5e88423e04d743d595da;hb=6f09819f35c5d66d8de41a6d8aa1cd1395815397;hp=31a9647374442c24edc581dffc27a8021d1873a7;hpb=18cab6b8665e31ac5c38895c434862e4393fee57;p=gitmo%2FMouse.git diff --git a/lib/Mouse/PurePerl.pm b/lib/Mouse/PurePerl.pm index 31a9647..c0ec9a6 100644 --- a/lib/Mouse/PurePerl.pm +++ b/lib/Mouse/PurePerl.pm @@ -339,6 +339,12 @@ sub is_immutable { $_[0]->{is_immutable} } sub strict_constructor; *strict_constructor = $generate_class_accessor->('strict_constructor'); +sub _invalidate_metaclass_cache { + my($self) = @_; + delete $self->{_mouse_cache}; + return; +} + sub _report_unknown_args { my($metaclass, $attrs, $args) = @_; @@ -744,7 +750,7 @@ Mouse::PurePerl - A Mouse guts in pure Perl =head1 VERSION -This document describes Mouse version 0.76 +This document describes Mouse version 0.80 =head1 SEE ALSO