X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FRole-Tiny.git;a=blobdiff_plain;f=lib%2FMoo.pm;h=a756fb905b9562c7bccc3324506a32148f0842e8;hp=6b5147e0f5284a7fb062f2329c5aa927782d834c;hb=2d00f3d6507f4b3b22c6adc9f13549ccbc0c9145;hpb=3ecbabc38df34b84330262d3a8fa7da6dc00bb2a 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