Mark A. Biggar wrote:
Damian Conway wrote:Rather than addition Yet Another Feature, what's wrong with just using: for @list ¥ @list[1...] -> $curr, $next { ... } ??? DamianShouldn't that be: for [EMAIL PROTECTED], undef] ¥ @list[1...] -> $curr, $next { ... } As I remember it zip hrows away extras, not fills in with undef.
Drat I did that backwaeds didn't I. try: for @list ¥ [EMAIL PROTECTED], undef] -> $curr. $next { -- [EMAIL PROTECTED] [EMAIL PROTECTED]