Bump version to 1.9900 for new version numbering scheme
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Array / count.pm
CommitLineData
f7fd22b6 1package Moose::Meta::Method::Accessor::Native::Array::count;
2
3use strict;
4use warnings;
5
bb8ef151 6our $VERSION = '1.9900';
f7fd22b6 7$VERSION = eval $VERSION;
8our $AUTHORITY = 'cpan:STEVAN';
9
8b9641b8 10use Moose::Role;
11
12with 'Moose::Meta::Method::Accessor::Native::Reader' =>
13 { -excludes => ['_maximum_arguments'] };
f7fd22b6 14
a7821be5 15sub _maximum_arguments { 0 }
16
f7fd22b6 17sub _return_value {
53a4677c 18 my $self = shift;
19 my ($slot_access) = @_;
f7fd22b6 20
53a4677c 21 return 'scalar @{ (' . $slot_access . ') }';
f7fd22b6 22}
23
8b9641b8 24no Moose::Role;
25
f7fd22b6 261;