@array = ( ['red', 'white'], ['blue', 'green', 'yellow'], ['vortex', 'singularity'] ); On the fly: for $index (0..4) { push @array, [1, 1, 1, 2]; }