in reply to Array Issues

Here is a convenient way to make the suggested AoA independent of how many elements you have in the original, push @aoa, [splice @array, 0, $width] while @array; That will empty @array as @aoa is filled. If $width may vary on the fly, replace that variable with a sub call which can figure out the desired width.

After Compline,
Zaxo