List:General Discussion« Previous MessageNext Message »
From:Daniel Koch Date:September 28 1999 5:12am
Subject:Re: (OT) difference between two text blob inputs
View as plain text  
Jerry Preeper wrote:

> I was thinking of writing each of the stories to temp files, running diff
> on the two, replacing the > and < with old and new and then doing the
> updates to the tables.  But this seems awfully complicated for what should
> be easy.  Anyone have any suggestions for a routine to compare the new
> input to the old text blob, then update the story table and the changelog
> table.

You can use the Algorithm::Diff module from CPAN if you're using perl.

Dan Koch
American City Business Journals

(OT) difference between two text blob inputsJerry Preeper28 Sep
  • Re: (OT) difference between two text blob inputsDaniel Koch28 Sep