Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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?
[choroba]: politics in the CB again?
[Discipulus]: was not philosopy choroba? ;=)
Discipulus is looking for rule books and found nothing about politic, just related to be annoying. and he is never annoying..

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-04-29 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.