|Think about Loose Coupling|
Re: XML Compare and exact differences need to be listed outby wjw (Curate)
|on Sep 30, 2013 at 06:26 UTC||Need Help??|
There are a number of tools (many non-Perl) that will do this for you. However, to help you, it would help to know:
Meld or just plain old diff at the command line(this is on *nix of course).
There are numerous tools for Windows as well. Winmerg being one of the free ones.
If you are looking for exclusively programmatic solutions, then knowing more about your environment is almost mandatory.
A quick google search for "diff tools written in perl" came back with Algorithm::Diff, which contrary to its name seems to do what you are describing."Algorithm::Diff - Compute `intelligent' differences between two files / lists"
Hope something in there is useful...