Help for this page
$listOfHostsWithProblems{$currentHostname}->{$currentType} = ++$i;
while(($hostname, $innerHash) = each(%listOfHostsWithProblems)) { foreach $type (keys %innerHash) ... } }