Hi,
My requirement is that I need to compare two files.
For example :
The first file will be having 15 columns and the second file will be having just 10 columns.
Example :
File1 :
abcd,abrd,fun,D000,$15,$236,$217,$200,$200,$200
dear,dare,tun,D000,$12.00405,$234.08976,$212.09876,$200,$200,$200
File2 :
dear,dar2e,tun,D00210,12.00405,2134.08976
abcd,awred,fuwn,qD0qw00,15,236
The first column can be treated as the key.
Based on the key(s), the columns present in the second file will be compared to those in the first file and the remaning columns will not be compared.
Also,
The rows might not be in order in both the files.
How to achieve this using perl?