bump version to 1.19
[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
245478d5 6our $VERSION = '1.19';
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 {
e7724627 18 my ( $self, $slot_access ) = @_;
f7fd22b6 19
1d06edbf 20 return "scalar \@{ ($slot_access) }";
f7fd22b6 21}
22
8b9641b8 23no Moose::Role;
24
f7fd22b6 251;