From: Jesse Luehrs Date: Sat, 7 May 2011 07:09:13 +0000 (-0500) Subject: no need for this to be a footnote, since we talk about it above now X-Git-Tag: 2.0003~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=028b17489dac83c67a0c421aef65bb4337a46b3a;p=gitmo%2FMoose.git no need for this to be a footnote, since we talk about it above now --- diff --git a/lib/Moose/Cookbook/Basics/Recipe4.pod b/lib/Moose/Cookbook/Basics/Recipe4.pod index 65fbb03..1be2fab 100644 --- a/lib/Moose/Cookbook/Basics/Recipe4.pod +++ b/lib/Moose/Cookbook/Basics/Recipe4.pod @@ -206,11 +206,11 @@ C in its C attribute. To do that, we need to hook into object construction. Moose lets us do this by writing a C method in our class. When your class -defines a C method, it will be called immediately after -object construction, but before the object is returned to the caller -(3). Note that all C methods in your class hierarchy will be -called automatically; there is no need to (and you should not) call -the superclass C method. +defines a C method, it will be called by the constructor +immediately after object construction, but before the object is returned +to the caller. Note that all C methods in your class hierarchy +will be called automatically; there is no need to (and you should not) +call the superclass C method. The C class uses the C method to ensure that each employee of a company has the proper C object in its @@ -297,12 +297,6 @@ Note that C will not work. Moose will not parse this as a container type, and instead you will have a new type named "ArrayRef[]", which doesn't make any sense. -=item (3) - -The C method is actually called by C<< Moose::Object->new >>. It climbs -the object inheritance graph and calls any C methods it finds in the -correct order. - =back =begin testing