using perl6 version 2015.09 built on MoarVM version 2015.09,
i'm trying to create a hash with a slice of another one and some extra
pairs. as exemple:
my %x = < login jdoe first john last doe >;
my %y = :enable, |( %x< login first >.kv);
0 => jdoe, 1 => john, enable => True
when expected is
login => jdoe, first => john, enable => True;
i also tried other things like :p, .pairs, :kv but none of them seems to
work. can someone help ?
Université de Strasbourg, Direction Informatique
14 Rue René Descartes,
67084 STRASBOURG CEDEX
"Don't believe everything you read on the Internet"
-- Abraham Lincoln