in reply to Referencing a HoH
Try dereferencing the temp hash:
You also might want to have a look at Data::Dumper and perlref.foreach $key2 (keys %{$hshFoo{$key}}) { ... }
In Section
Seekers of Perl Wisdom