in reply to How do I compare the lines in two text file?

If you're on a system that supports it, the easiest way might be to use the Unix diff command.

For a pure Perl solution, you might be able to do something with the Array::Compare module from CPAN.

  • Comment on Re: How do I compare the lines in two text file?