Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-08-18 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (310 votes). Check out past polls.

    Notices?