Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Question 1

by partha7
on Aug 30, 2012 at 10:52 UTC ( #990714=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @fields = split / /, $string;
    
  2. or download this
    my @fields = split /\s/, $string;
    
  3. or download this
    my @fields = split /\s+/, $string;
    
  4. or download this
    my @fields = split ' ', $string;
    
  5. or download this
    my @fields = split /\s*/, $string;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2021-05-06 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (75 votes). Check out past polls.

    Notices?