in reply to Re^2: gotchas with hash element autovivification (dry)
in thread gotchas with hash element autovivification

It's a matter of opinion, but I prefer the simplicity of my suggestion, even if there's repetition. Even though I sometimes use your technique (typically in cases like keys %{$hash{foo} || {}}), I still had to look twice.