make Catalyst::Engine and Catalyst::Base immutable
Matt S Trout [Fri, 4 Jan 2013 00:46:03 +0000 (00:46 +0000)]
Changes
lib/Catalyst/Base.pm
lib/Catalyst/Engine.pm

diff --git a/Changes b/Changes
index 62197af..05ac845 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 # This file documents the revision history for Perl extension Catalyst.
 
+  - Make Catalyst::Engine and Catalyst::Base immutable
+
 5.90019 - 2012-12-04 21:31:00
   - Fix for perl 5.17.6 (commit g7dc8663). RT#81601
   - Fix for perl 5.8. RT#61122
index 1dca5c9..401f335 100644 (file)
@@ -9,6 +9,8 @@ after 'BUILD' => sub {
 
 no Moose;
 
+__PACKAGE__->meta->make_immutable;
+
 1;
 
 __END__
index 65ef3fe..8386639 100644 (file)
@@ -732,4 +732,6 @@ the same terms as Perl itself.
 
 =cut
 
+__PACKAGE__->meta->make_immutable;
+
 1;