in reply to Creating Multidimensional Hashed Arrays?

use strict and warnings and diagnostics:
C:\> perl -w -Mdiagnostics 791764.pl Odd number of elements in anonymous hash at 791764.pl Line 1 (W misc) You specified an odd number of elements to initialize a has +h, which is odd, because hashes come in key/value pairs.