From: Shawn M Moore Date: Tue, 28 Apr 2009 09:42:32 +0000 (-0400) Subject: make_immutable X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e9c046eea34670169ada690d1b82b83f4b30da9d;p=gitmo%2FPerl-Critic-Dynamic-Moose.git make_immutable --- diff --git a/lib/Perl/Critic/Policy/DynamicMoose.pm b/lib/Perl/Critic/Policy/DynamicMoose.pm index 477c97c..140bf82 100644 --- a/lib/Perl/Critic/Policy/DynamicMoose.pm +++ b/lib/Perl/Critic/Policy/DynamicMoose.pm @@ -92,6 +92,7 @@ sub _new_packages { } no Moose; +__PACKAGE__->meta->make_immutable; 1;