- or download this
# build the grid
my @grid;
...
for (1..$NUMBER_OF_ROWS) {
push @grid, \@row;
}
- or download this
#! perlmy @grid;
use strict;
...
$VAR1->[0],
$VAR1->[0]
];
- or download this
my @grid = ( [ '01' .. '12' ] ) x 12;
- or download this
my @grid = ( .... ) x $n;
- or download this
my @grid = map{ ... } 1 .. 12;