in reply to How can I get the longest and all other common substrings from a set of strings?

I would suggest you to learn perl first then go for writing programs.
No one will here read your 100 lines of code and fix it.Please go through http://learn.perl.org first.
  • Comment on Re: How can I get the longest and all other common substrings from a set of strings?