1 package Moose::Meta::Method::Accessor::Native::Hash::elements;
6 use Scalar::Util qw( looks_like_number );
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 = shift;
23 return "map { \$_, ${slot_access}->{\$_} } keys \%{ ($slot_access) }";