Additional: the Pair.key method also returns the content of a Scalar key,
rather than the key itself:

> my $a = 3; my $b = Pair.new($a.VAR, "z"); $a = 5; say $b.key.WHICH
Int|5

-zefram

Reply via email to