I need to figure out which lines are different in two files. And I need the exact line numbers that are different then I want to put them in an array.
The sudo code will be like this:
do diff on two files (new file and old file).
get the line numbers that were edited (added or deleted) in the new file.
put the line numbers in an array
How can do it in Perl?