From: Arthur Axel 'fREW' Schmidt Date: Fri, 23 Dec 2011 14:43:18 +0000 (-0600) Subject: stop documenting in terms of private methods X-Git-Tag: v0.009013~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FRole-Tiny.git;a=commitdiff_plain;h=2d00f3d6507f4b3b22c6adc9f13549ccbc0c9145 stop documenting in terms of private methods --- diff --git a/lib/Moo.pm b/lib/Moo.pm index 6b5147e..a756fb9 100644 --- a/lib/Moo.pm +++ b/lib/Moo.pm @@ -214,14 +214,14 @@ passed to the constructor. This method should always return a hash reference of named options. -=head2 BUILDALL +=head2 BUILD -Don't override (or probably even call) this method. Instead, you can define -a C method on your class and the constructor will automatically call the -C method from parent down to child after the object has been -instantiated. Typically this is used for object validation or possibly logging. +Define a C method on your class and the constructor will automatically +call the C method from parent down to child after the object has +been instantiated. Typically this is used for object validation or possibly +logging. -=head2 DESTROY +=head2 DEMOLISH If you have a C method anywhere in your inheritance hierarchy, a C method is created on first object construction which will call