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


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?