in reply to Representing Complex but Static Data in Perl

Place some {} around the last key/value:
our %hash = (0 => { 0 => [[[1, 0],[2, 0],[3, 0],[4, 0],[5, 0],[6, 0],[ +7, 0]], [[0, 1],[0, 2],[0, 3],[0, 4],[0, 5],[0, 6],[0, 7]]]});
You need to let the first hashvalue be a scalar, in this case an anonymous hash ref.

Replies are listed 'Best First'.
Re^2: Representing Complex but Static Data in Perl
by Roy Johnson (Monsignor) on Apr 07, 2005 at 12:19 UTC
    And maybe let Perl do the counting:
    our %hash = (0 => { 0 => [[map [$_, 0], 1..7], [map [0, $_], 1..7]]});

    Caution: Contents may have been coded under pressure.