Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: can't use certain hashnames when traversing a slightly complex hash

by sundialsvc4 (Abbot)
on Jan 06, 2013 at 14:29 UTC ( #1011887=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: can't use certain hashnames when traversing a slightly complex hash
Replies are listed 'Best First'.
Re^2: can't use certain hashnames when traversing a slightly complex hash
by karlgoethebier (Vicar) 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»

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011887]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2015-07-29 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls