Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Splitting each word in a string

by azatoth (Curate)
on Jun 26, 2001 at 14:43 UTC ( #91547=note: print w/replies, xml ) Need Help??


in reply to Splitting each word in a string

my @array = split /\s+/, $string;


Update: bah, too slow

Azatoth a.k.a Captain Whiplash

Make Your Die Messages Full of Wisdom!
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://91547]
help
Chatterbox?
[marto]: something isn't quite right, getting the "woah cowboy.." message when trying to say good morning, it wasn't the last thing I said in the CB :/
[Corion]: marto: Hmm - now you didn't get the "whoa cowboy" ;)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2017-02-28 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (399 votes). Check out past polls.