push @b, [splice @a, 0, $l] while @a;
is fairly clean. Check the result with:
print "@$_\n" for @b;
In reply to Re: Syntactically cool list of lists
by GrandFather
in thread Syntactically cool list of lists
by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |