http://qs321.pair.com?node_id=402662


in reply to How do you place words from a sentence into an array?

Use split to break the sentence into words:
open FILE, "bingo_in.txt"; while (<FILE>) { my @words = split; }
This form of split uses the defaults of splitting $_ and using whitespace as a delimiter.

-Mark