From: Dave Rolsky 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 option accepts either I (for read/write) or I (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, I<|Class::MOP::Attribute#writer> and -I<|Class::MOP::Attribute#accessor> options inherited from -L, however if you use those, you won't need the I -option. +If you need more control over how your accessors are named, you can +use the L, +L and +L options inherited from +L, however if you use those, you won't need the +I option. =item I $type_name> @@ -613,34 +614,44 @@ example. =item I -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 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 +for more information. =item I 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 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 for more +information. =item I -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 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 for more +information. =item I -Allows you to clear the value, see the documentation in -L for more information. +Allows you to clear the value, see the L for more +information. =item I -Basic test to see if a value has been set in the attribute, see the documentation in -L for more information. +Basic test to see if a value has been set in the attribute, see the +L for more +information. =back