Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Diff CSV files - But ignore certain fields

by stonecolddevin (Vicar)
on Mar 07, 2013 at 22:05 UTC ( #1022307=note: print w/ replies, xml ) Need Help??

in reply to Diff CSV files - But ignore certain fields

  1. Use Text::CSV_XS to parse your CSV
  2. Read your files into two separate arrays of arrays, populating the arrays with only the fields you need
  3. Use Set::Scalar to do a difference operation to get your diff

Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Comment on Re: Diff CSV files - But ignore certain fields
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2015-11-27 01:33 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (711 votes), past polls