Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Should I use Fields, InsideOuts, or Properties?

by dmitri (Priest)
on Jul 08, 2005 at 13:18 UTC ( [id://473404]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Should I use Fields, InsideOuts, or Properties?
in thread Should I use Fields, InsideOuts, or Properties?

The whole point is not to use quoted or literal strings for hash keys, but make yourself use constants and force compile-time check by placing parentheses around them.

One added benefit of such approach is that if you want to change the actual key value, you only have to change it in one place.

  • Comment on Re^3: Should I use Fields, InsideOuts, or Properties?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-25 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found