in reply to Re^2: Looping through hash of hashes
in thread Looping through hash of hashes

What if you did not know the names of the keys

Then use the keys builtin to find them out. Something like this:

for my $file (sort keys %messagebin) { print "File $file:\n"; # $messagebin{$file} is a hashref, so: my @subkeys = sort keys %{$messagebin{$file}}; foreach my $subkey (@subkeys) { print "\t$subkey = $messagebin{$file}{$subkey}\n"; } }

"In adjectives, with the addition of inflectional endings, a changeable long vowel (Qamets or Tsere) in an open, propretonic syllable will reduce to Vocal Shewa. This type of change occurs when the open, pretonic syllable of the masculine singular adjective becomes propretonic with the addition of inflectional endings."  — Pratico & Van Pelt, BBHG, p68