in reply to Line by line file compare w/ low system memory

As mentioned above, maybe the diff command might do what you need. You could try running it and capturing the output in your perl script, it has many options that control the output format.

You could also try Tie::File by fellow monk Dominus, a module that lets you treat a file like a regular perl array without loading the whole file to memory.

hope this helps,
  • Comment on Re: Line by line file compare w/ low system memory