Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Pulling out data from one file thats not in another

by graff (Chancellor)
on Apr 27, 2010 at 18:37 UTC ( [id://837163]=note: print w/replies, xml ) Need Help??


in reply to Pulling out data from one file thats not in another

The problem that the OP wants to solve is just one instance of a very general problem: doing "set arithmetic" on two lists: intersection, union, exclusive-or.

I tend to encounter problems of this type so often in my work that I wrote a very general tool to address it -- you can find it here: cmpcol.

It allows that one or both input lists may actually be flat tables (possibly with varied field delimiters), where just one or more columns are of interest for doing the set-arithmetic.

  • Comment on Re: Pulling out data from one file thats not in another

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-26 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found