X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FAttribute%2FNative%2FTrait%2FArray.pm;h=527f2fc323efb22f8bac027cc78099f7b2d08f7c;hb=refs%2Ftags%2F1.08;hp=5f9b8e92d967a6c7444a3a32639ab4005bfa95e6;hpb=276828facdc18a4702606e51d475ce7cd6643ac8;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Attribute/Native/Trait/Array.pm b/lib/Moose/Meta/Attribute/Native/Trait/Array.pm index 5f9b8e9..527f2fc 100644 --- a/lib/Moose/Meta/Attribute/Native/Trait/Array.pm +++ b/lib/Moose/Meta/Attribute/Native/Trait/Array.pm @@ -2,7 +2,7 @@ package Moose::Meta::Attribute::Native::Trait::Array; use Moose::Role; -our $VERSION = '0.89_01'; +our $VERSION = '1.08'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; @@ -29,7 +29,7 @@ __END__ =head1 NAME -Moose::Meta::Attribute::Native::Trait::Array +Moose::Meta::Attribute::Native::Trait::Array - Helper trait for ArrayRef attributes =head1 SYNOPSIS @@ -43,12 +43,14 @@ Moose::Meta::Attribute::Native::Trait::Array default => sub { [] }, handles => { all_options => 'elements', + add_option => 'push', map_options => 'map', filter_options => 'grep', find_option => 'first', get_option => 'get', join_options => 'join', count_options => 'count', + has_options => 'count', has_no_options => 'is_empty', sorted_options => 'sort', }, @@ -102,11 +104,11 @@ numbers, just as with Perl's core array handling. =item B -=item B +=item B =item B -=item B +=item B =item B @@ -236,9 +238,7 @@ in the array. =head1 BUGS -All complex software has bugs lurking in it, and this module is no -exception. If you find a bug please either email me, or add the bug -to cpan-RT. +See L for details on reporting bugs. =head1 AUTHOR