Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: ignore duplicates and show unique values between 2 text files (real data)

by LanX (Saint)
on Apr 29, 2013 at 15:12 UTC ( [id://1031232]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1031232]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found