Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: Hash keys not DWIMming

by trwww (Priest)
on Oct 07, 2010 at 16:32 UTC ( #864035=note: print w/replies, xml ) Need Help??

in reply to Re^2: Hash keys not DWIMming
in thread Hash keys not DWIMming

It's just that I thought steps had been taken to avoid the need for quoting hash keys .... that's obviously not so and we're left with what looks like a dog's breakfast when it comes to deciding if a key needs to be quoted or not.

The rule seems pretty straightforward to me. If the hash key is a valid identifier, it doesn't need quoted. Otherwise it does. Has always worked fine for my usage and always does what I want.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2019-10-16 19:45 GMT
Find Nodes?
    Voting Booth?