in reply to Re: Re: Compare csv file fields?
in thread Compare csv file fields?

Parsing can be done using tilly's Text::xSV. Array::Compare might be useful in building the comparisons, as might Set::Scalar. Set::Scalar will allow you to generate two lists of UIDs and get the differences between the two. Then, you can do the same thing, but with the names from the acceptable UIDs.

Personally, I think that all these modules are overkill for what is, essentially, a one-off. But, that's just me. (Do you really anticipate your *passwd files getting out of sync again?? That sounds like a bigger issue, to me ...)

------
We are the carpenters and bricklayers of the Information Age.

The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.