Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Tutorial suggestion: split and join

by Not_a_Number (Parson)
on Aug 29, 2003 at 13:34 UTC ( #287644=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $str = "  foo bar baz  ";
    my @spl = split $str;
    print "@spl";
    
  2. or download this
    while ( <DATA> ) {
       split;
       #do something interesting;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://287644]
help
Chatterbox?
[Corion]: Whoops - more spam - I guess I'll have to collate a list and have them banned later today
[Corion]: Maybe I should bring my Github credentials to $work some day, just to open issues for blogs.perl.org ;)

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






    Results (354 votes). Check out past polls.