From: Dave Rolsky Date: Tue, 16 Dec 2008 22:24:41 +0000 (+0000) Subject: Some doc re-org X-Git-Tag: 0.66~27^2~26 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7261aa9dbaf6c94fba2abc3094d211caf509e089;p=gitmo%2FMoose.git Some doc re-org --- diff --git a/lib/Moose/Manual/Attributes.pod b/lib/Moose/Manual/Attributes.pod index 2d9d915..971e4fa 100644 --- a/lib/Moose/Manual/Attributes.pod +++ b/lib/Moose/Manual/Attributes.pod @@ -478,7 +478,7 @@ attribute metaclasses and traits. See L for some examples. You can also write your own metaclasses and traits. See the "Meta" and "Extending" recipes in L for examples. -=head2 Attribute Inheritance +=head1 ATTRIBUTE INHERITANCE By default, a child inherits all of its parent class(es)' attributes as-is. However, you can explicitly change some aspects of the @@ -531,6 +531,19 @@ We recommend that you exercise caution when changing the type (C) of an inherited attribute. It's best to only make the new type a subtype of the one accepted by the parent. +=head1 MORE ON ATTRIBUTES + +Moose attributes are a big topic, and this document glosses over a few +aspects of their aspects. We recommend that you read the +L and L documents to +get a more complete understanding of attribute features. + +=head1 A FEW MORE OPTIONS + +Moose has lots of attribute options. The ones listed below are +superceded by some more modern features, but are covered for the sake +of completeness. + =head2 The C option You can provide a piece of documentation as a string for an attribute: @@ -573,13 +586,6 @@ construction. This option is inherited from C, but we recommend that you use a C (which is Moose-only) instead. -=head1 MORE ON ATTRIBUTES - -Moose attributes are a big topic, and this document glosses over a few -aspects of their aspects. We recommend that you read the -L and L documents to -get a more complete understanding of attribute features. - =head1 AUTHOR Dave Rolsky Eautarch@urth.orgE