UPDATE: oh, Algorithm::LCSS
In reply to Re^2: Common Substrings by tphyahoo in thread Common Substrings by Anonymous Monk