thanks. however, i am still not able to bunch each word in it's own element in the array. this is what i have:
open (file, "input.txt") or die ("can't open file");
#write it into a array
@myfile=<file>;
foreach $i (@myfile){
@tmp=split /\s+/, $i;
print @tmp;
}
print ("\n\n");
print "the...