Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
Lady_Aleena was checking #cbstream and saw the big announcement.
[marioroy]: Tie::IxHash can be shared. Also similar modules. I cannot wait to post a solution sharing Tie::File and iterating among workers.
[marioroy]: Lady_Aleena Yes, will post something with all the new features. Parallel with few lines of code.
[marioroy]: Yes, will do for PM. I love PM.
Lady_Aleena ponders a meditation of her own, but it would be on a far far less important topic.
[marioroy]: I'm hoping to have a release in about a week's time.
Discipulus supermario..
marioroy MCE isn't important by any means. Just wanted to complete this task. Hobo needed more love and MCE::Shared as well. It wasn't easy at all.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-05-26 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?