my $val1 = $next_cell_arr[0] || die "val1 is undefined!!\n";