my @array; while () { { . . . push @array, split(/\s+/, $line); . . . }