_Pair::key { shift->[0] }
sub List::Util::_Pair::value { shift->[1] }
sub List::Util::_Pair::TO_JSON { [ @{+shift} ] }
=head1 NAME
List::Util - A selection of general-utility list subroutines
=he
y;
my $value = $pair->value;
...
}
Since version C<1.51> they also have a C<TO_JSON> method to ease
serialisation.
=head2 unpairs
my @kvlist = unpairs @pairs
I<Since version