http://qs1969.pair.com?node_id=256318


in reply to Referencing a HoH

Try dereferencing the temp hash:
foreach $key2 (keys %{$hshFoo{$key}}) { ... }
You also might want to have a look at Data::Dumper and perlref.