in reply to ignore duplicates and show unique values between 2 text files

I've tested your code with the data you provided and it works 100%!

Maybe you should chomp and trim your data to avoid problems with "invisible" whitespaces?

However the output you are showing doesn't fit to the input you posted, since

'121' 'abc'

are never paired in following lines.

Please show the real data next time, at least out of courtesy to the people spending time to help you!

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re: ignore duplicates and show unique values between 2 text files (real data)
  • Download Code

Replies are listed 'Best First'.
Re^2: ignore duplicates and show unique values between 2 text files
by perlnoobster (Sexton) on Apr 29, 2013 at 15:19 UTC
    Sorry Rolf, I apologize for the mistake it won't happen again