From: Dave Rolsky <autarch@urth.org> Date: Mon, 6 Oct 2008 16:33:31 +0000 (+0000) Subject: Fix all the pod links to Class::MOP so they're actually valid POD. X-Git-Tag: 0.59~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1b46b845aec04ca7372393f90641a5e861b60f25;p=gitmo%2FMoose.git Fix all the pod links to Class::MOP so they're actually valid POD. --- diff --git a/lib/Moose.pm b/lib/Moose.pm index 4e95778..62f2067 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -417,11 +417,12 @@ The I<is> option accepts either I<rw> (for read/write) or I<ro> (for read only). These will create either a read/write accessor or a read-only accessor respectively, using the same name as the C<$name> of the attribute. -If you need more control over how your accessors are named, you can use the -L<reader|Class::MOP::Attribute#reader>, I<|Class::MOP::Attribute#writer> and -I<|Class::MOP::Attribute#accessor> options inherited from -L<Class::MOP::Attribute>, however if you use those, you won't need the I<is> -option. +If you need more control over how your accessors are named, you can +use the L<reader|Class::MOP::Attribute/reader>, +L<writer|Class::MOP::Attribute/writer> and +L<accessor|Class::MOP::Attribute/accessor> options inherited from +L<Class::MOP::Attribute>, however if you use those, you won't need the +I<is> option. =item I<isa =E<gt> $type_name> @@ -613,34 +614,44 @@ example. =item I<builder> -The value of this key is the name of the method that will be called to obtain the value used to -initialize the attribute. See the documentation in -L<Class::MOP::Attribute|Class::MOP::Attribute#builder> for more information. +The value of this key is the name of the method that will be called to +obtain the value used to initialize the attribute. See the L<builder +option docs in Class::MOP::Attribute|Class::MOP::Attribute/builder> +for more information. =item I<default> The value of this key is the default value which will initialize the attribute. -NOTE: If the value is a simple scalar (string or number), then it can be just passed as is. -However, if you wish to initialize it with a HASH or ARRAY ref, then you need to wrap that inside a CODE reference. -See the documentation in L<Class::MOP::Attribute|Class::MOP::Attribute#default> for more information. +NOTE: If the value is a simple scalar (string or number), then it can +be just passed as is. However, if you wish to initialize it with a +HASH or ARRAY ref, then you need to wrap that inside a CODE reference. +See the L<default option docs in +Class::MOP::Attribute|Class::MOP::Attribute/default> for more +information. =item I<initializer> -This may be a method name (referring to a method on the class with this attribute) or a CODE ref. -The initializer is used to set the attribute value on an instance when the attribute is set during -instance initialization (but not when the value is being assigned to). See the documentation in -L<Class::MOP::Attribute|Class::MOP::Attribute#initializer> for more information. +This may be a method name (referring to a method on the class with +this attribute) or a CODE ref. The initializer is used to set the +attribute value on an instance when the attribute is set during +instance initialization (but not when the value is being assigned +to). See the L<initializer option docs in +Class::MOP::Attribute|Class::MOP::Attribute/initializer> for more +information. =item I<clearer> -Allows you to clear the value, see the documentation in -L<Class::MOP::Attribute|Class::MOP::Attribute#clearer> for more information. +Allows you to clear the value, see the L<clearer option docs in +Class::MOP::Attribute|Class::MOP::Attribute/clearer> for more +information. =item I<predicate> -Basic test to see if a value has been set in the attribute, see the documentation in -L<Class::MOP::Attribute|Class::MOP::Attribute#predicate> for more information. +Basic test to see if a value has been set in the attribute, see the +L<predicate option docs in +Class::MOP::Attribute|Class::MOP::Attribute/predicate> for more +information. =back