![]() |
![]()
| ![]() |
![]()
NAMEString::LCSS - Find The Longest Common Substring of Two Strings. VERSIONThis document refers to String::LCSS version 1.00. SYNOPSISuse String::LCSS; my $longest = lcss( "zyzxx", "abczyzefg" ); print $longest, "\n"; my @result = lcss( "zyzxx", "abczyzefg" ); print "$result[0] ($result[1],$result[2])\n"; DESCRIPTIONString::LCSS provides the function "lcss" to ferret out the longest common substring shared by two strings passed as arguments. SUBROUTINES
EXPORTThe "lcss" function is exported by default. BUGSThere are no known bugs in this module. SEE ALSOString::LCSS_XS is not pure Perl, but it was created to be faster. COPYRIGHTThis module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. AUTHORThe original author is Daniel Yacob (CPAN ID: DYACOB). Gene Sullivan (gsullivan@cpan.org) is a co-maintainer. ACKNOWLEDGEMENTSCode provided by BrowserUk from PerlMonks.
|