And of course there's a module on CPAN to do this for you: Array::Dissect. It splits an array into arrays of given size.
Hope this helps, -gjb-
In reply to Re: Making little array babies
by gjb
in thread Making little array babies
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |