Help for this page

Select Code to Download


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