make_immutable
Shawn M Moore [Tue, 28 Apr 2009 09:42:32 +0000 (05:42 -0400)]
lib/Perl/Critic/Policy/DynamicMoose.pm

index 477c97c..140bf82 100644 (file)
@@ -92,6 +92,7 @@ sub _new_packages {
 }
 
 no Moose;
+__PACKAGE__->meta->make_immutable;
 
 1;