From: Dave Rolsky Date: Fri, 21 Mar 2008 22:16:35 +0000 (+0000) Subject: Fix a small comment typo X-Git-Tag: 0_55~266 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3db3ea822db23a21cd580a617d72aaa754a09586;p=gitmo%2FMoose.git Fix a small comment typo --- diff --git a/lib/Moose/Meta/Method/Constructor.pm b/lib/Moose/Meta/Method/Constructor.pm index 8c8e1db..cbb767e 100644 --- a/lib/Moose/Meta/Method/Constructor.pm +++ b/lib/Moose/Meta/Method/Constructor.pm @@ -170,7 +170,7 @@ sub _generate_slot_initializer { $default = '$instance->' . $builder; } - push @source => '{'; # wrap this to avoid my $val overrite warnings + push @source => '{'; # wrap this to avoid my $val overwrite warnings push @source => ('my $val = ' . $default . ';'); push @source => $self->_generate_type_constraint_check( $attr, @@ -179,7 +179,7 @@ sub _generate_slot_initializer { '$val' ) if ($is_moose && $attr->has_type_constraint); push @source => $self->_generate_slot_assignment($attr, '$val', $index); - push @source => '}'; # close - wrap this to avoid my $val overrite warnings + push @source => '}'; # close - wrap this to avoid my $val overwrite warnings push @source => "}" if defined $attr->init_arg; }