Carl Mäsak wrote:

> But maybe a variable that implicitly carries along the loop index
> would be even snazzier?
> for @array -> $val {
>   say "$.\t$val";
> }

Or give the block a name (label), and have an index (or several indexes, like
some that are reset by redo an some that are not) available, attached to that

Affijn, Ruud

Reply via email to