in reply to Re^2: I want to compare 2 CSV files and print the difference in a text file
in thread I want to compare 2 CSV files and print the difference in a text file

  1. I never referred to Text::CSV, but to Text::CSV_XS. Don't change the context.
  2. Both examples posted had three lines (which with my basic math is more than one).
  3. CSV should never be read as-is. It will work on the first example, but will fail when embedded newlines, quotation and escapes come into play.
  4. I offered the csvdiff tool, which depends on Text::CSV_XS.
  5. The op asked for processing (diff), not just reading (parsing) a single line.

Enjoy, Have FUN! H.Merijn
  • Comment on Re^3: I want to compare 2 CSV files and print the difference in a text file