in reply to Re^2: Test if a subhash in a referenced hash exists
in thread Test if a subhash in a referenced hash exists

Another way to prevent autovivification is to use Data::Diver.
Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re^3: Test if a subhash in a referenced hash exists