<?xml version="1.0" encoding="windows-1252"?>
<node id="224434" title="how to avoid mis-spelling hash keys?" created="2003-01-05 13:01:07" updated="2005-08-12 06:21:58">
<type id="115">
perlquestion</type>
<author id="223541">
Gorilla</author>
<data>
<field name="doctext">
I have run into this problem so many times already, and I believe this must be a common problem among monks.&lt;br&gt;&lt;br&gt;
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.&lt;br&gt;&lt;br&gt;
Is there any way to prevent this from happening? There is a pseudo-hash, but the concept and interface is really stupid.&lt;br&gt;&lt;br&gt;</field>
</data>
</node>
