Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Finding repeat sequences.

by hdb (Parson)
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 avoiding work at the Monastery: (14)
As of 2014-08-21 14:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (136 votes), past polls