projects
/
gitmo/Moo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4053679
)
remove tab. how the fsck did a tab get into my source code? :(
Matt S Trout [Sun, 7 Nov 2010 04:40:02 +0000 (
04:40
+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
a3f3bb0
..
0cecf2d
100644
(file)
--- a/
lib/Method/Generate/Constructor.pm
+++ b/
lib/Method/Generate/Constructor.pm
@@
-53,7
+53,7
@@
sub _check_required {
my @required_init =
map $spec->{$_}{init_arg},
grep $spec->{$_}{required},
- keys %$spec;
+ keys %$spec;
return '' unless @required_init;
' if (my @missing = grep !exists $args->{$_}, qw('
.join(' ',@required_init).')) {'."\n"