for my $key1 (keys %$returnedData) { for my $key2 (keys %{$returnedData->{$key1}}) { print "$key1.$key2 = $returnedData->{$key1}->{$key2}\n"; } }