![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: Making little array babiesby davido (Cardinal) |
on Apr 12, 2004 at 04:58 UTC ( #344329=note: print w/replies, xml ) | Need Help?? |
Here's one (untested) way...
An artifact of this method is that if your initial array has a number of elements not evenly divisible by three you'll get one or two final elements that equate to undef in the last element in @lol.
Dave
In Section
Seekers of Perl Wisdom
|
|