Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: substrings that consist of repeating characters

by wazat (Monk)
on Sep 30, 2020 at 23:47 UTC ( [id://11122384]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $string = 'AAATTTAGTTCTTAAGGCTGACATCGGTTTACGTCAGCGTTACCCCCCAAGTTATT
    +GGGGACTTT';
    
    ...
    for my $k (sort keys %max) {
        print"$max{$k} ", $k x $max{$k}, "\n";
    }
    
  2. or download this
    3 AAA
    6 CCCCCC
    4 GGGG
    3 TTT
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11122384]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found