in reply to usage of if on nested hash creating empty slot for non existing value
if (defined $hash->{A}->{LEVEL2}->{LEVEL2_2}) {To prevent autovivification, make this
if (exists $hash->{A} && exists $hash->{A}->{LEVEL2} && defined $hash- +>{A}->{LEVEL2}->{LEVEL2_2}) {
|
|---|