in reply to creating arrays of arrays
Actually it assigns the number of elements in each, but that's neither here nor there. You need to read perldoc perllol carefully, and perldoc perlreftut (specifically the parts about [] and \).