Commit | Line | Data |
---|---|---|
910684ee | 1 | package Moose::Meta::Method::Accessor::Native::Array::uniq; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | ||
6 | use List::MoreUtils (); | |
7 | ||
8 | our $VERSION = '1.13'; | |
9 | $VERSION = eval $VERSION; | |
10 | our $AUTHORITY = 'cpan:STEVAN'; | |
11 | ||
12 | use base 'Moose::Meta::Method::Accessor::Native::Array::Reader'; | |
13 | ||
a7821be5 | 14 | sub _maximum_arguments { 0 } |
15 | ||
910684ee | 16 | sub _return_value { |
17 | my $self = shift; | |
18 | my $slot_access = shift; | |
19 | ||
20 | return "List::MoreUtils::uniq \@{ $slot_access }"; | |
21 | } | |
22 | ||
23 | 1; |