Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: another split question

by sh1tn (Priest)
on Sep 05, 2005 at 22:55 UTC ( [id://489305]=note: print w/replies, xml ) Need Help??


in reply to another split question

Alternatively regex can be used:
$text = '"foo1","foo2","foo3","foo4","foo5","foo6","foo7","foo8","foo9 +"'; push @comma_elems, $1 while $text =~ /(\S+?,)/g;


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-24 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found