in reply to Finding changed words

See my solution at the snippet "Showing differences between two sequences".

-- Randal L. Schwartz, Perl hacker