Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 rifling through the Monastery: (5)
As of 2014-12-18 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls