Help for this page

Select Code to Download


  1. or download this
    my $needle = 'i pushed the lazy dog into a creek, the quick brown fox 
    +told me to';
    my $haystack = 'the quick brown fox jumps over the lazy dog';
    
  2. or download this
    require String::LCSS;
    my $needle = 'i pushed the lazy dog into a creek, the quick brown fox 
    +told me to';
    my $haystack = 'the quick brown fox jumps over the lazy dog';
    my $longest = String::LCSS::lcss ( $needle, $haystack );
    print $longest, "\n";