in reply to Re: Can I make a sub for this?
in thread Can I make a sub for this?

Hi Eric,

Thanks for the tip. The script I have would take hashA find those that are in hashB, let me write it in pseudocodes

if key{hashA} eq key{hashB} { print FH value{hashA} } if not found then { print FH value{hashB} }
which means I only want those that match from hashA and those that don't match from hashB, so some of hashA will not be in the printout. Can it be done by a method similiar to your suggestion?

Thanks.

Desmond