in reply to Re: Syntactically cool list of lists
in thread Syntactically cool list of lists

Doesn't seem to be that clumsy.
use List::MoreUtils qw( natatime ); my $iter = natatime $l, @a; while (my @row = $iter->()) { push @b, \@row; }

Update: Switched to using a while loop, since the while statement modifier doesn't work here.

Replies are listed 'Best First'.
Re^3: Syntactically cool list of lists
by jettero (Monsignor) on Dec 21, 2006 at 02:30 UTC
    I was hoping someone would post something that iterates.

    -Paul