in reply to Question about text::csv_xs

Looks to me like you really don't need CSV at all, but you need Text::Diff. Or, if you do need to do some mangling to the CSV, maybe Algorithm::Diff would be of help?

Replies are listed 'Best First'.
Re^2: Question about text::csv_xs
by jZed (Prior) on Apr 27, 2005 at 23:24 UTC
    That was my first thought also (that the OP doesn't really need CSV parsing), but a) two CSV tables can contain identical rows in different orders so a diff approach may not work, b) fields may contain embedded newlines so a line-oriented approach may not work, c) if requirements change and the comparison is done on key fields rather than whole records, the CSV approach will scale up.