I want to compare 2 hashes of arrays in the following manner:
Example:
%hoa=(A1=>[UP1,UP3,UP6],
A2=>[UP1,UP6],
A3=>[UP2,UP10],
);
%hoadip=(UP1=>[UP2,UP3,UP7],
UP2=>[UP10,UP9,UP3],
UP5=>[UP1,UP11],
);
Question:
1. Compare the values of %hoa with the keys of %hoadip
2. Then for each key matched, compare the values of the 2 hashes of arrays
3. Print the matching values