use List::Util ();
-our $VERSION = '1.13';
+our $VERSION = '1.16';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
-use base 'Moose::Meta::Method::Accessor::Native::Reader';
+use Moose::Role;
+
+with 'Moose::Meta::Method::Accessor::Native::Reader' =>
+ { -excludes => ['_maximum_arguments'] };
sub _maximum_arguments { 0 }
my $self = shift;
my $slot_access = shift;
- return "List::Util::shuffle \@{ $slot_access }";
+ return "List::Util::shuffle \@{ ($slot_access) }";
}
+no Moose::Role;
+
1;