in reply to printing Hash
while( my ($key, $hash) = each %hashs ){ foreach my $subkey ( grep { $hash{$_} > 1 } keys %$hash ){ printf "%s - %s -> %s\n", $key, $hash{$subkey}, $subkey; } } [download]