in reply to File comparison

If you know SQL, just use DBD::CSV and use LEFT and RIGHT joins. You could modify the example in CSV table diff utility.