http://www.perlmonks.org?node_id=1011887


in reply to can't use certain hashnames when traversing a slightly complex hash

Two tips:

  1. Always put hash-keys in literal strings, not barewords.   There’s more than one way to do it,™ so choose one way that works absolutely every time and, every time, do it in just that way.
  2. Always use use strict; use warnings; at the top of every module, and (almost) always, never accept any warnings to exist.

Replies are listed 'Best First'.
Re^2: can't use certain hashnames when traversing a slightly complex hash
by karlgoethebier (Abbot) on Jan 06, 2013 at 15:57 UTC
    "Always put hash-keys in literal strings, not barewords."

    BTW: I never did and i do not plan to do so in the future.

    Why should i?

    Update: Oops, sometimes reading helps...sorry!

    Update2: ...it was a mistake, yes. I posted too fast.

    Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»