You could try to evaluate the "distance" between the old and the new page, and put a stop if they're sufficiently "close". A possible approach would be using one of the modules already available (e.g. Text::Levenshtein or Text::LevenshteinXS, but there should be others), you'll probably have to tune things a bit after getting a working setup.