Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Puzzlement in Splitsville

by Anonymous Monk
on Jun 20, 2005 at 21:32 UTC ( #468498=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for($i=0;$i < length($string)/$len; $i++) {
        $codons[$i] = substr($string,$i*$len,$len);
    }
    
  2. or download this
    $start=0;
    for ($pos=0; $pos < length($string)-1;$pos++) {
    ...
    } # end loop across letters of string
    
    $runs[$i++] = substr($string,$start,$pos-$start+1);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://468498]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2018-07-17 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (372 votes). Check out past polls.

    Notices?