From: Matt S Trout Date: Wed, 19 Sep 2012 11:21:20 +0000 (+0000) Subject: fix minor indentation nit in Constructor.pm X-Git-Tag: v1.000004~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMoo.git;a=commitdiff_plain;h=db7254600990328b382281fdb2e3fa8238b61a7d fix minor indentation nit in Constructor.pm --- diff --git a/lib/Method/Generate/Constructor.pm b/lib/Method/Generate/Constructor.pm index f89dee9..6c90761 100644 --- 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;