in reply to Hash in a Hash Issue

Tip #4 from the Basic debugging checklist: Data::Dumper

$hash{$somekey} = \%innerhash; use Data::Dumper; print Dumper(\%hash);