From: Robin V Date: Mon, 22 Mar 2010 23:09:21 +0000 (+0100) Subject: removed trailing spaces and tabs X-Git-Tag: 1.00~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=94650eb9804559a6f7d6ca140f1834725eaaac57;p=gitmo%2FMoose.git removed trailing spaces and tabs --- diff --git a/lib/Moose/Manual/Construction.pod b/lib/Moose/Manual/Construction.pod index 5048657..cbbc5d2 100644 --- a/lib/Moose/Manual/Construction.pod +++ b/lib/Moose/Manual/Construction.pod @@ -94,21 +94,20 @@ object creation. } -As C is called with the original hashref passed to new (or the -results of your C, if you have overridden the default +As C is called with the original hashref passed to new (or the +results of your C, if you have overridden the default C.) it can also use be used to create a custom constructor -using parameters that weren't consumed by attributes. This can be -useful if you need to venture beyond what the default initialization +using parameters that weren't consumed by attributes. This can be +useful if you need to venture beyond what the default initialization behavior and coercions can accomplish. - sub BUILD { - my $self = shift; - my $params_hashref = shift; - - $self->addFriend( My::User->new ($params_hashref->{friendId}, - $params_hashref->{activationCode}) ); + sub BUILD { + my $self = shift; + my $params_hashref = shift; - } + $self->addFriend( My::User->new ($params_hashref->{friendId}, + $params_hashref->{activationCode}) ); + }