|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: finding stringsby davido (Bishop) |
| on Dec 09, 2012 at 17:43 UTC ( #1007993=note: print w/ replies, xml ) | Need Help?? |
|
I don't have time to work through it at the moment, but I think you'll be more successful using a Suffix Tree. There are a couple of CPAN modules: Tree::Suffix, and SuffixTree. The latter is written in C and bound to Perl via SWIG. It's an old module, but might be useful. Dave
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||