projects
/
gitmo/Moo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
76c1458
)
fix minor indentation nit in Constructor.pm
Matt S Trout [Wed, 19 Sep 2012 11:21:20 +0000 (11:21 +0000)]
lib/Method/Generate/Constructor.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Method/Generate/Constructor.pm
b/lib/Method/Generate/Constructor.pm
index
f89dee9
..
6c90761
100644
(file)
--- a/
lib/Method/Generate/Constructor.pm
+++ b/
lib/Method/Generate/Constructor.pm
@@
-16,8
+16,8
@@
sub register_attribute_specs {
foreach my $key (keys %$old_spec) {
$new_spec->{$key} = $old_spec->{$key}
unless exists $new_spec->{$key};
- }
}
+ }
$new_spec->{index} = scalar keys %$specs
unless defined $new_spec->{index};
$specs->{$name} = $new_spec;