Maybe using placeholder variables was a bit too much (those variables with the ^ twigil)
> for @a.kv -> $k, $v { say "Value $v has index $k" } Value g has index 0 Value h has index 1 Value i has index 2 Value j has index 3 Value k has index 4
Maybe using placeholder variables was a bit too much (those variables with the ^ twigil)
> for @a.kv -> $k, $v { say "Value $v has index $k" } Value g has index 0 Value h has index 1 Value i has index 2 Value j has index 3 Value k has index 4