file compare in perl -
i new perl .
i have 2 text files:
file1 contain 2 lines:
mahesh bharti
file2 contain 2 lines:
mahesh orange
as can see difference between 2 files bharti
, orange
. somehow able print difference. requirement should print below.
difference of file below: file1 contain: bharti file2 contain: orange
my current code written in perl below
use text::diff module.
Comments
Post a Comment