From: Jesse Luehrs Date: Wed, 30 Mar 2011 19:18:18 +0000 (-0500) Subject: fix up some docs X-Git-Tag: 1.9906~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea86742110bb6b0f09fc3dc4980768ccddcc4f4e;p=gitmo%2FMoose.git fix up some docs --- diff --git a/lib/Moose/Meta/Attribute/Native.pm b/lib/Moose/Meta/Attribute/Native.pm index 233c90c..de10753 100644 --- a/lib/Moose/Meta/Attribute/Native.pm +++ b/lib/Moose/Meta/Attribute/Native.pm @@ -89,8 +89,6 @@ You will need to make sure that the attribute has an appropriate type. For example, to use this with a Hash you must specify that your attribute is some sort of C. -If you I specify a type, each trait has a default type it will use. - =head2 handles This is just like any other delegation, but only a hash reference is allowed @@ -105,8 +103,8 @@ See the docs for each native trait for details on what methods are available. Some traits provide a default C for historical reasons. This behavior is deprecated, and you are strongly encouraged to provide a value. If you don't -plan to read and write the attribute value directly, you can set C<< is => -'bare' >> to prevent standard accessor generation. +plan to read and write the attribute value directly, not passing the C +option will prevent standard accessor generation. =head2 default or builder diff --git a/lib/Moose/Meta/Attribute/Native/Trait/Array.pm b/lib/Moose/Meta/Attribute/Native/Trait/Array.pm index a0897b3..2c824b2 100644 --- a/lib/Moose/Meta/Attribute/Native/Trait/Array.pm +++ b/lib/Moose/Meta/Attribute/Native/Trait/Array.pm @@ -95,7 +95,7 @@ numbers, just as with Perl's core array handling. If the specified element does not exist, this will return C. -This method does accepts just one argument. +This method accepts just one argument. =item * B