1 package Moose::Meta::Method::Accessor::Native::Hash::kv;
6 use Scalar::Util qw( looks_like_number );
8 our $VERSION = '1.9900';
9 $VERSION = eval $VERSION;
10 our $AUTHORITY = 'cpan:STEVAN';
14 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
15 { -excludes => ['_maximum_arguments'] };
17 sub _maximum_arguments { 0 }
21 my ($slot_access) = @_;
23 return 'map { [ $_, ' . $slot_access . '->{$_} ] } '
24 . 'keys %{ (' . $slot_access . ') }';