projects
/
gitmo/MooseX-StrictConstructor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5373a7e
)
s/"/'/g
Dave Rolsky [Thu, 21 Oct 2010 13:34:25 +0000 (08:34 -0500)]
lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
b/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
index
2ec5cf8
..
43b2aa2
100644
(file)
--- a/
lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
+++ b/
lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
@@
-16,7
+16,7
@@
around '_generate_BUILDALL' => sub {
$source .= ";\n" if $source;
my @attrs = (
- "__INSTANCE__ => 1,",
+ '__INSTANCE__ => 1,',
map { B::perlstring($_) . ' => 1,' }
grep {defined}
map { $_->init_arg() } @{ $self->_attributes() }