in reply to Search for repeating but slightly different patterns
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:
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
|
|---|