in reply to split array elements
my @arr; while ( <INFILE> ) { next if ($_ =~ /^(\>)/); push @arr, split(/ /, $_); } [download]