in reply to CSV files compare
Sounds like the perfect job for DBD::CSV
Unless you show what you tried so far, I don't think people will come up with a ready-to-go suggestion.