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

Gorilla has asked for the wisdom of the Perl Monks concerning the following question:

I have run into this problem so many times already, and I believe this must be a common problem among monks.

When I were working on my OO classes, from time to time, I misspelled attribute names (which were hash keys), and then got stuck for hours, trying to find out what was going on.

Is there any way to prevent this from happening? There is a pseudo-hash, but the concept and interface is really stupid.