nice looking CSV format

This commit is contained in:
Jean-Marie Renouard 2023-03-03 15:46:52 +01:00
parent 72353f4d32
commit a787631287

View file

@ -1053,6 +1053,9 @@ sub select_csv_file {
my @result =select_array($req);
open( my $fh, '>', $tfile ) or die "Could not open file '$tfile' $!";
for my $l (@result) {
$l=~s/\t/","/g;
$l=~s/^/"/;
$l=~s/$/"/;
print $fh $l;
}
close $fh;