in reply to Comparing 2 csv files

You could use Text::CSV to read the files into arrays, then List::Compare to compare them.