or...
@sen = split ' ', $str;
See split
As a special case, specifying a PATTERN of space (' ') will split on white space...
hth
In reply to Re: array problem - splitting array
by wfsp
in thread array problem - splitting array
by perlbeginner10
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |