beginnerinperl has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Can someone please help me with the following problem statement. There are 2 csv files. I want to compare both the files and print the difference to a text output file.
E.g. ---- File1.csv has the below content ------------------------------- 10, Apple, Juice 50, Eat, Something Need, Some, Help File2.csv --------- 10, Apple, Juice 50, Eat, Something How, To, Do I want the output file like this. Output.txt ----------- Line 3 is not matching. Line in File1: Need, Some, Help Line in File2: How, To, Do
As I am completely new to Perl language, can someone please help me with the code.
Thanks a ton !!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: I want to compare 2 CSV files and print the difference in a text file
by Tux (Canon) on Feb 12, 2018 at 11:52 UTC | |
by 7stud (Deacon) on Feb 12, 2018 at 14:00 UTC | |
by Tux (Canon) on Feb 12, 2018 at 14:23 UTC | |
Re: I want to compare 2 CSV files and print the difference in a text file
by haukex (Archbishop) on Feb 12, 2018 at 12:37 UTC |