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

Re: Split ( ) is Giving Me a Splitting Headache

by zakame (Pilgrim)
on May 29, 2006 at 14:53 UTC ( #552321=note: print w/replies, xml ) Need Help??


in reply to Split ( ) is Giving Me a Splitting Headache

You could do this:
$phrase = "Hello World"; for ($phrase) { @parts = split }
Or this, from a filehandle:
while (<STDIN>) { push @parts, split; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2019-06-19 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (84 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!