Hi,

Does anyone have a nifty way to do a sort and comparison
of two or more hash keys with multiple values per key?

I am building a hash with

push (@{$a{$b}},$c);

$b keeps changing, lets say in first instance it is "1" and
"2" in second instance, and each instance has multiple values,
e.g, instance "1" has "c1 c2 c3" and instance "2" has "c1 c2 c3
c4 c5".  What's the easiest way to iterate through the hash and
compare each instance values and print the differences?  Thanks
for any answers.  In the above case, I like to see c4 and c5 as
the values different from instance "1" to instance "2".

-ravi


Reply via email to