Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Question 1

by partha7 (Initiate)
on Aug 30, 2012 at 10:52 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://990714]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2025-04-22 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.