Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: split function

by johngg (Abbot)
on Sep 10, 2012 at 21:55 UTC ( #992863=note: print w/ replies, xml ) Need Help??


in reply to split function

An alternative to a regular expression solution would be to use unpack.

$ perl -E 'say for unpack q{(A3)*}, q{HKTTLDSSRTTTTAABNNRFGHGHGYYH};' HKT TLD SSR TTT TAA BNN RFG HGH GYY H $

Cheers,

JohnGG


Comment on Re: split function
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (15)
As of 2015-07-31 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls