Hi, I have two different hashes built from separate data and need to find the common then differing items.

$HoA1{$custnum} = [ $uid, $firstname, $lastname ];
$HoA2{$uid} = [ $custnum, $firstname, $lastname ];

I have looked at examples for "Finding Common or Different Keys in Two Hashes" but the keys must be the same.
To make the keys the same I would like to effect a reverse function but only reversing the key and the first value leaving the remaining array items in place.


Examples or suggestion would be most appreciated.
Thanks

John.





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to