open FILE, "+>", "input.txt" or die $!; print "file loaded \n"; while () {@all_words = split('', $_); push @all_words, @words; }