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,In reply to Re: Line by line file compare w/ low system memory
by CukiMnstr
in thread Line by line file compare w/ low system memory
by zoot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |