1 package Moose::Meta::Method::Accessor::Native::Hash::elements;
6 use Scalar::Util qw( looks_like_number );
10 with 'Moose::Meta::Method::Accessor::Native::Reader';
12 sub _maximum_arguments { 0 }
16 my ($slot_access) = @_;
18 return 'map { $_, ' . $slot_access . '->{$_} } '
19 . 'keys %{ (' . $slot_access . ') }';