in reply to Why does testing for the existence of hash keys create the keys ?
... Why? Autovivification check this Understand autovivification