in reply to Compare the content of two files
An easy, but really ugly way to compare the two files is to change your compare to if ( "@lines" eq "@lines1" ) { ... You can then do away with the "chomp()" loops.
Algorithm::Diff is another approach you might consider.
|
|---|