diff options
Diffstat (limited to 'lib/Data/MultiValued/AttributeTrait.pm')
-rw-r--r-- | lib/Data/MultiValued/AttributeTrait.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Data/MultiValued/AttributeTrait.pm b/lib/Data/MultiValued/AttributeTrait.pm index fd180ed..263b6ee 100644 --- a/lib/Data/MultiValued/AttributeTrait.pm +++ b/lib/Data/MultiValued/AttributeTrait.pm @@ -67,7 +67,7 @@ sub _build_full_storage_slot { shift->name . '__MULTIVALUED_STORAGE__' } The names to use for the various additional accessors. See L<Class::MOP::Attribute> for details. These default to -C<"multi_$name"> where C<$name> is the name of the corresponding +C<"${name}_multi"> where C<$name> is the name of the corresponding non-multi accessor. So, for example, has stuff => ( @@ -252,9 +252,10 @@ Retrieves a value from the multi-value object, and stores it in the regular slot in the instance. If the value is not found, clears the slot. -This traps the L<Data::MultiValued::Exceptions::NotFound> exception -that may be thrown by the multi-value object, but re-throws any other -exception. +This traps the +L<Data::MultiValued::Exceptions::NotFound|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::NotFound> +exception that may be thrown by the multi-value object, but re-throws +any other exception. =cut |