open FILE, "bingo_in.txt"; undef $/; $file = ; @lines = split /\n/, $file; for (@lines ) { @words = split; }