1package Moose::Meta::Method::Accessor::Native::Hash::kv; 2our $VERSION = '2.2201'; 3 4use strict; 5use warnings; 6 7use Moose::Role; 8 9with 'Moose::Meta::Method::Accessor::Native::Reader'; 10 11sub _maximum_arguments { 0 } 12 13sub _return_value { 14 my $self = shift; 15 my ($slot_access) = @_; 16 17 return 'map { [ $_, ' . $slot_access . '->{$_} ] } ' 18 . 'keys %{ (' . $slot_access . ') }'; 19} 20 21no Moose::Role; 22 231; 24