I tried with text::diff, file::compare, list::compare and hash of array concept and module but the output I want in error.txt is just the position of mismatch like line no., The logic might be check mismatch line by line and whatever the mismatch found just grab that line no. of file 2 and print in the error file one by one.
I really appreciate that you help me
but can you do some modification
thanks a lot
In reply to Re^2: Perl: How to compare two files
by Mjpaddy
in thread Perl: How to compare two files
by Mjpaddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |