Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Finding repeat sequences.

by hdb (Prior)
on Jun 19, 2013 at 07:46 UTC ( #1039739=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub find_substring
    {
    ...
            return $possible if $input eq substr($possible x (1 + int($len
    +gth / $i)), 0, $length); # success
        }
    }
    
  2. or download this
    sub find_substring
    {
    ...
        return substr( $input, 0, $i) if substr( $input, $i ) eq substr($i
    +nput, 0, $length - $i); 
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039739]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-10-31 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (216 votes), past polls