in reply to Search for repeating but slightly different patterns

Just a wild suggestion:

A module such as Algorithm::Diff could be useful here.

PS: if this algorithm works, you may use it for free, just call it "CountZero's Universal Scraper Algorithm"!

Update: Could be as easy as this:

use strict; use warnings; use 5.012; use LWP::Simple; use Text::Diff; my $first_content = get('http://www.thinkgeek.com/geektoys/all/'); my $second_content = get ('http://www.thinkgeek.com/geektoys/feature/d +esc/1/60'); my $diff = diff \$first_content, \$second_content; say $diff;
of course you will have to parse the diff-output!

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James