projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
56d5a4e
)
make_immutable for new moose
purge [Fri, 11 Sep 2009 09:51:11 +0000 (09:51 +0000)]
lib/Reaction/Class.pm
patch
|
blob
|
blame
|
history
lib/Reaction/Object.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Reaction/Class.pm
b/lib/Reaction/Class.pm
index
a57dcdf
..
9f61bbf
100644
(file)
--- a/
lib/Reaction/Class.pm
+++ b/
lib/Reaction/Class.pm
@@
-233,6
+233,8
@@
sub next_import {
sub next_import_package { 'Moose' }
+__PACKAGE__->meta->make_immutable;
+
1;
#---------#---------#---------#---------#---------#---------#---------#--------#
diff --git
a/lib/Reaction/Object.pm
b/lib/Reaction/Object.pm
index
7440bd3
..
de4c740
100644
(file)
--- a/
lib/Reaction/Object.pm
+++ b/
lib/Reaction/Object.pm
@@
-7,6
+7,8
@@
use Moose qw(extends);
extends 'Moose::Object';
+__PACKAGE__->meta->make_immutable;
+
no Moose;
1;