in reply to Re^2: arrays, hashes, dereferencing confusion - need help
in thread arrays, hashes, dereferencing confusion - need help

Its also easy when you don't know :)

perl -Mdiagnostics -le "my %foo = 1 "

Odd number of elements in hash assignment at -e line 1 (#1)
(W misc) You specified an odd number of elements to initialize a hash, which is odd, because hashes come in key/value pairs.
  • Comment on Re^3: arrays, hashes, dereferencing confusion - need help