http://www.perlmonks.org?node_id=1076890


in reply to Comparing HTML snippets

Or just process the file to remove all blank-like characters, newlines and so-on, then see what something like the diff command-line command (or its Windows equivalent) will do for you.