Subject: | implement lvpairs |
https://perldoc.perl.org/List/Util.html#pairs
foreach my $pair ( pairs @kvlist ) {
my ( $key, $value ) = @$pair;
...
}
This example is not so efficient because of double coping:
first when create $pair
second when we extract $key/$value from $pair
On IRC you have said that can implement lvpairs to keep values aliased