Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: split string using regex

by grep (Monsignor)
on Nov 08, 2007 at 15:01 UTC ( #649725=note: print w/ replies, xml ) Need Help??


in reply to split string using regex

It appears that your data is space separated. I would recommend saving yourself a lot of trouble, grab Text::CSV_XS and change the sep_char to 0x20 for space. It recognizes strings that are quoted as one unit.

grep
One dead unjugged rabbit fish later...


Comment on Re: split string using regex
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2014-10-24 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (131 votes), past polls