Re: More questions on downwards binding.

2002-02-27 Thread Austin Hastings
--- Larry Wall <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: > : More questions on downwards binding, > : > : > for @foo -> $a, $b { # two at a time > : > ... > : > } > : > : Interpretation #1: > : for @foo[0..$fo

Re: More questions on downwards binding.

2002-02-26 Thread Larry Wall
[EMAIL PROTECTED] writes: : More questions on downwards binding, : : > for @foo -> $a, $b { # two at a time : > ... : > } : : Interpretation #1: : for @foo[0..$foo:2] -> $a, : @foo[1..$foo:2] -> $b : { ... } : : Interpretation #2: : for @fo

Re: More questions on downwards binding.

2002-02-26 Thread Austin Hastings
More questions on downwards binding, > for @foo -> $a, $b { # two at a time > ... > } Interpretation #1: for @foo[0..$foo:2] -> $a, @foo[1..$foo:2] -> $b { ... } Interpretation #2: for @foo -> $a { $b := $a; ... } I like this second one, as a sh