<?xml version="1.0" encoding="windows-1252"?>
<node id="434252" title="Comparison of HTML documents with Perl" created="2005-02-24 15:50:58" updated="2005-06-08 16:36:37">
<type id="115">
perlquestion</type>
<author id="28290">
sutch</author>
<data>
<field name="doctext">
I'm looking for a Perl solution which displays an HTML document that illustrates the differences between two versions of an HTML document.  It needs to "accept" two HTML documents and output a new HTML document that shows sections removed, sections added, and sections changed.  I believe that it must know about HTML so that it doesn't hightlight tags that have changed, but somehow shows that formatting has changed.&lt;p&gt;

I've found [cpan://HTML::Diff], but the documentation is skimpy and only seems to handle providing the backend functionality of returning structures that show what has changed.&lt;p&gt;

Are there any other options out there that are Perl based?&lt;p&gt;

TIA

</field>
</data>
</node>
