Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: split function

by hbm (Hermit)
on Sep 10, 2012 at 20:38 UTC ( #992849=note: print w/replies, xml ) Need Help??


in reply to split function

Here is one easy way of many:

$prot = "HKTTLDSSRTTTTAABNNRFGHGHGYYH"; say for/.{3}/g;

Says:

HKT TLD SSR TTT TAA BNN RFG HGH GYY

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-02-19 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (266 votes). Check out past polls.

    Notices?