diff options
author | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2011-11-25 15:23:10 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2011-11-25 15:23:10 +0000 |
commit | 75f20230821c883d919d6a3f84d3930862bb8fd7 (patch) | |
tree | 03933dd7cd89f6c910b6eae5e394c9e22bc2e2a9 /lib/Data/MultiValued/AttributeTrait.pm | |
parent | changes bump for CPAN release (diff) | |
download | data-multivalued-75f20230821c883d919d6a3f84d3930862bb8fd7.tar.gz data-multivalued-75f20230821c883d919d6a3f84d3930862bb8fd7.tar.bz2 data-multivalued-75f20230821c883d919d6a3f84d3930862bb8fd7.zip |
minor fixes after seeing it on CPAN
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 |