Joe Gottman writes: > multi sub kv (Array @array : [EMAIL PROTECTED]) returns List > Returns the indexes and associated values stored in @array, lazily and in > order by index. Optionally, only those of the slice defined by @indices.
This one is real easy: multi sub kv (@array) returns List { zip(1...; @array); } Array @array means an array of arrays. The [EMAIL PROTECTED] parameter seems superflous, since you could just do: for @array[1..10].kv -> $k, $v {...} Luke