in reply to question on hash behavior

Googling perl autovivification reveals Preventing autovivification while accessing value, which mentions things like Data::Diver to avoid it.