Larry Wall:

>  for ^5 { say }  # 0, 1, 2, 3, 4

The 'for' can go if a list (and also an array) would imply looping, when
it is positioned next to a block:

a.   say (0..4);
b.   { say; say } (0..4);
c.   (0..4) { say; say }
d.   @{0..4} { say; say }
(etc.)

b. now produces 2 lines with 01234 (in pugs). With implied looping that
would be 10 lines, starting with two 0-lines.

-- 
Grtz, Ruud

Reply via email to