This form of split uses the defaults of splitting $_ and using whitespace as a delimiter.open FILE, "bingo_in.txt"; while (<FILE>) { my @words = split; }
-Mark
In reply to Re: How do you place words from a sentence into an array?
by kvale
in thread How do you place words from a sentence into an array?
by Diakoneo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |