|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Re: Making a failed hash lookup return something other than undefby thelenm (Vicar) |
| on Nov 13, 2003 at 20:09 UTC ( #306921=note: print w/ replies, xml ) | Need Help?? |
|
Actually, auto-vivification of hash entries doesn't happen unless you do something like take a reference to the hash entry... for example by referring to something more deeply nested in the non-existent hash entry:
-- Mike --
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||