Hello, Can you please help me in following scenario in Perl scripting? I want to compare two text files & save output of this comparision in third file with flags I-Insert, D-Delete, U-Update at the end of line.
File1.txt -
1|abc
2|efg
3|xyz
File2.txt
1|abc
2|efh
4|pqr
Expected output is - File3.txt
2|efh|C
3|xyz|D
4|pqr|I