I thought there might be a module to do this, but I couldn't find one. You could try to use Algorithm::Diff but I'm not sure it would be easy.
Have you tried Super search to see if anyone else has asked a similar question? Update:Just realised this might sound really patronising, didn't mean it that way, sorry.
In reply to Re: `diff`ing two files (code)
by kevin_i_orourke
in thread `diff`ing two files (code)
by deprecated
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |