my @new = map { split /\t/ } split /\n/, $data; #### my @new = split /\n|\t/, $data;