Perl-Sensitive Sunglasses | |
PerlMonks |
Re: How do you check if a key exists without creating it ?by wind (Priest) |
on Oct 06, 2012 at 08:43 UTC ( [id://997603]=note: print w/replies, xml ) | Need Help?? |
You're just falling into autovivification. Check for existence of the lower level first if you don't want it autocreated:
In Section
Seekers of Perl Wisdom
|
|