note also that in this code the last non-triplet is silently discarded.
This could be, or not, what you want, so maybe you'll need to fix thismy $seq = qw(CCCTCTCTCCCAGGGGCAAA); prints: CCC TCT CTC CCA GGG GCA AA discarded
In reply to Re: Fast Way to Split String in to Chunk of Equal Length
by pvaldes
in thread Fast Way to Split String in to Chunk of Equal Length
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |