in reply to Populating Arrays of Arrays

In addition to all the other fine advice given in this thread...
#two arrays of arrays to populate @aoa=qw/header font content/ ; @aoac=qw/headerc fontc contentc/;

Those are not arrays of arrays. They're simply arrays (that is, arrays of scalars).

If you haven't done so lately, I highly recommend you read perlreftut, perllol, perldsc, and perlref (in that order).