<?xml version="1.0" encoding="windows-1252"?>
<node id="1012820" title="Re: Undesirable parent hash keys" created="2013-01-11 02:58:16" updated="2013-01-11 02:58:16">
<type id="11">
note</type>
<author id="281137">
davido</author>
<data>
<field name="doctext">
&lt;p&gt;See [mod://autovivification], a pragma (available from CPAN) that can lexically disable [doc://perlfaq4|autovivification] (the behavior).  Here's an example from perlfaq4:&lt;/p&gt;
&lt;c&gt;
{
    no autovivification;
    my %hash;
    if( exists $hash{key1}{key2}{key3} ) {
        ...;
    }
}
&lt;/c&gt;
&lt;p&gt;The faq also suggests a few other techniques.&lt;/p&gt;

&lt;div class="pmsig"&gt;&lt;div class="pmsig-281137"&gt;
&lt;br /&gt;&lt;p&gt;Dave&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1012812</field>
<field name="parent_node">
1012812</field>
</data>
</node>
