in reply to highlighting text changes

Take a look at the various Diff modules on cpan my best bet is Algorithm::Diff
Boris