in reply to Iterating Through a Hash and Emailing the Result

What about this?

my $contents; foreach my $address (keys %$error_hash) { $contents .= "$address\t\t$error_hash->{$address}\n"; } # ... print $mailer $contents;
--
b10m

All code is usually tested, but rarely trusted.