split()  splits on whitespace by default. so the  "\s+/" is
optional.

$_ = "3 element array";
@words = split;


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to