X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FManual%2FConstruction.pod;h=de8d98373b56dabe3793c38440f51f9163d928fc;hb=f9b1ab71234d11a9121de96c574ca980bbfb3eaa;hp=1a17e64758783ded01f6cf060c6b4f002813af11;hpb=0c39debe42b82fda7f19f3053903650ac7920a65;p=gitmo%2FMoose.git diff --git a/lib/Moose/Manual/Construction.pod b/lib/Moose/Manual/Construction.pod index 1a17e64..de8d983 100644 --- a/lib/Moose/Manual/Construction.pod +++ b/lib/Moose/Manual/Construction.pod @@ -68,10 +68,10 @@ between a hash reference and a plain hash for you. =head2 BUILD The C method is called I an object is created. There are -ways to use a C method. One of the most common is to check that -the object state is valid. While we can validate individual attributes -through the use of types, we can't validate the state of a whole -object that way. +several ways to use a C method. One of the most common is to +check that the object state is valid. While we can validate individual +attributes through the use of types, we can't validate the state of a +whole object that way. sub BUILD { my $self = shift; @@ -91,7 +91,7 @@ object creation. debug( 'Made a new person - SSN = ', $self->ssn, ); } -=head3 BUILD and Parent Classes +=head3 BUILD and parent classes The interaction between multiple C methods in an inheritance hierarchy is different from normal Perl methods. B