Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022307]
help
Chatterbox?
[marto]: good morning all
[Corion]: Hi marto!
[Corion]: I hope all is well marto! ;) My godson had a surprise visit to the hospital yesterday because he fell and had cut his skin besides his eye, but everything was glued together again and all is well
[marto]: good grief, that's not fun, glad to hear all is as well as could be :)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2016-12-08 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (137 votes). Check out past polls.