Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992863]
help
Chatterbox?
[erix]: there used to be the 'razing' of towns and citoes but that now means something else in Germany (rasen=driving too fast)
[erix]: sleighting, I imagine 'Schlechten' will be a german word too - probably with same meaning as in dutch (breaking down, making useless a castle / defensive structure )

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-05-29 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?