|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Compare Values in HoHby Herkum (Parson) |
| on Apr 06, 2006 at 14:48 UTC ( #541647=note: print w/ replies, xml ) | Need Help?? |
|
I think that you are making this too complicated. Lets see if we can understand the real problem, You have two files that have some common fields between them, you want to see which file has something the other file doesn't. Taking your file information from above, You can probably boil this down to the data that you want to string that would be,
Now lets take the data that you want to compare and stick in a hash. The value assigned in the hash relates to which file it came from. 1 means it came from file 1, 2 from file 2 and 3 means from file 1 and 2.
Now you have a hash with all the unique entries and what files that they came from. Which is what I assume that you really want.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||