projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
cd61f3a
)
make Catalyst::Engine and Catalyst::Base immutable
Matt S Trout [Fri, 4 Jan 2013 00:46:03 +0000 (
00:46
+0000)]
Changes
patch
|
blob
|
blame
|
history
lib/Catalyst/Base.pm
patch
|
blob
|
blame
|
history
lib/Catalyst/Engine.pm
patch
|
blob
|
blame
|
history
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
diff --git
a/lib/Catalyst/Base.pm
b/lib/Catalyst/Base.pm
index
1dca5c9
..
401f335
100644
(file)
--- a/
lib/Catalyst/Base.pm
+++ b/
lib/Catalyst/Base.pm
@@
-9,6
+9,8
@@
after 'BUILD' => sub {
no Moose;
+__PACKAGE__->meta->make_immutable;
+
1;
__END__
diff --git
a/lib/Catalyst/Engine.pm
b/lib/Catalyst/Engine.pm
index
65ef3fe
..
8386639
100644
(file)
--- a/
lib/Catalyst/Engine.pm
+++ b/
lib/Catalyst/Engine.pm
@@
-732,4
+732,6
@@
the same terms as Perl itself.
=cut
+__PACKAGE__->meta->make_immutable;
+
1;