Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Findding missing record between 2 files ?by k_manimuthu (Monk) |
on Jan 06, 2011 at 12:39 UTC ( [id://880807]=note: print w/replies, xml ) | Need Help?? |
File A | File B For the above sample you may expect the C,D. But, Your script gives C,D,E,F. While process the File B you hold the data at the same hash, and check the key is exists or not. For this kind of circumstance it gives File A and File B contents. So avoid the cause hold File A contents in %hash_one and File B contents in another hash (%hash_two). Pseudo code
In Section
Seekers of Perl Wisdom
|
|