in reply to Trying to find subkeys of a DBM::Deep key

The reason that @k=keys(%$dbm->{'A'}); fails and @k=keys(%{ $dbm->{'A'} }); succeeds is because the %{...} applies to the entire $dbm->{A}, and not just the $dbm part.

--MidLifeXis