for my $field (@fields) {
my $value = $hashRef->{$field} // q||;
$value =~ s/[\r\n]//g;
$value =~ s/"/'/g;
$$strCSV .= '"' . $value . '",';
}
chop $$strCSV;
-