On Thu, Mar 17, 2005 at 11:02:47AM +0100, Juerd wrote:
: Rod Adams skribis 2005-03-16 23:16 (-0600):
: > Doesn't C<zip> go until the longest input is exhausted, returning undef 
: > at the end of the shorter ones?

That's what has been specified.

: No, as that'd break the most common idiom it introduced: use of an array
: with 1..Inf, as in the example you're replying to, but also
: 
:     for @foos ¥ 1... -> $foo, $i { ... }

Maybe we need a short-circuit zip:

    for @foos ¥¥ 1... -> $foo, $i { ... }

Larry

Reply via email to