"Tom Phoenix" schreef:

>   my @pieces = split / /, "a b c d";

split() has a great default mode, that you get when you supply a string
value, only containing a single space, as the first parameter.

    my @pieces = split " ", " a    b c d ";

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to