Thanks
ikegami. Although your solution is better than mine was, it's still not exactly what I need. The results are as follows. Note jennifer, employment, clara and susan only has one 'entry'.
%hash = (
'clara' => {
'Sandra@camrpc.com' => 'Host not found'
},
'jack' => {
'JHuffman@pulsetech.net' => 'cannot find your ho
+stname'
},
'tim' => {
'millionairemaker@freshcornam.com' => 'cannot fin
+d your hostname'
},
'russ' => {
'orders@koss.com' => 'Host not found'
},
'susan' => {
'linda@kepro.com.tw' => 'cannot find your hostn
+ame'
},
'employment' => {
'LifeShopDirect@freshcornam.com' => 'Host
+not found'
},
'jobs' => {
'kwillis@cors.com' => 'Host not found'
},
'jennifer' => {
'Warranty@onlogixx.com' => 'cannot find your
+ hostname'
}
);