in reply to Syntactically cool list of lists
push @b, [splice @a, 0, $l] while @a;
is fairly clean. Check the result with:
print "@$_\n" for @b;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Syntactically cool list of lists
by sauoq (Abbot) on Dec 20, 2006 at 22:30 UTC | |
|
Re^2: Syntactically cool list of lists
by jettero (Monsignor) on Dec 20, 2006 at 21:23 UTC |