http://qs321.pair.com?node_id=660029


in reply to Re: longest common substring
in thread longest common substring

For more than 2 strings, I'd also suggest Tree::Suffix (although I've never used this module. It is just in theory the best algorithm).