while () { chomp; @array = split /\s+/; ... }