From: Shawn M Moore Date: Sun, 26 Apr 2009 00:47:23 +0000 (-0400) Subject: Do not make immutable :( X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f1e2ccc6daf10c45575d7bf1599c417cf4f9199d;p=gitmo%2FPerl-Critic-Dynamic-Moose.git Do not make immutable :( --- diff --git a/lib/Perl/Critic/Policy/Dynamic/Moose.pm b/lib/Perl/Critic/Policy/Dynamic/Moose.pm index 8b71691..5d5aad3 100644 --- a/lib/Perl/Critic/Policy/Dynamic/Moose.pm +++ b/lib/Perl/Critic/Policy/Dynamic/Moose.pm @@ -63,7 +63,6 @@ sub find_packages { @{ $doc->find('PPI::Statement::Package') || [] }; } -__PACKAGE__->meta->make_immutable; no Moose; 1; diff --git a/lib/Perl/Critic/Policy/Dynamic/Moose/ProhibitPublicBuilders.pm b/lib/Perl/Critic/Policy/Dynamic/Moose/ProhibitPublicBuilders.pm index bab0707..657e3fc 100644 --- a/lib/Perl/Critic/Policy/Dynamic/Moose/ProhibitPublicBuilders.pm +++ b/lib/Perl/Critic/Policy/Dynamic/Moose/ProhibitPublicBuilders.pm @@ -25,7 +25,6 @@ sub violates_metaclass { return @violations; } -__PACKAGE__->meta->make_immutable; no Moose; 1;