projects
/
gitmo/MooseX-Role-Parameterized.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1b0f24f
)
Better make_immutable invocation, because metaclass constructors are
Shawn M Moore [Sun, 18 Jan 2009 02:47:21 +0000 (
02:47
+0000)]
still Special
lib/MooseX/Role/Parameterized/Meta/Parameter.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/Role/Parameterized/Meta/Parameter.pm
b/lib/MooseX/Role/Parameterized/Meta/Parameter.pm
index
29fc918
..
1ae50b7
100644
(file)
--- a/
lib/MooseX/Role/Parameterized/Meta/Parameter.pm
+++ b/
lib/MooseX/Role/Parameterized/Meta/Parameter.pm
@@
-3,8
+3,10
@@
use Moose;
extends 'Moose::Meta::Attribute';
-
-__PACKAGE__->meta->make_immutable;
+__PACKAGE__->meta->make_immutable(
+ inline_constructor => 1,
+ constructor_name => "_new",
+);
no Moose;
1;