Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 imbibing at the Monastery: (5)
As of 2014-07-12 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (241 votes), past polls