Hi Experts ,
We are implementing the functionality to generate the CSV file (reports) in the perl - Apache environment.
This functionality seems to work improperly for some data. We are using the following code to get the things done.
<code>
my $r = Apache->request;
$r->content_type('text/csv
');
my $headers_hash = $r->headers_out;
$headers_hash->{'Content-d
isposition
'} = "attachment; filename=" . $report_name . ".csv";
<code>
This code is expected to ask to save the generated .CSV file , but it is not doing the same.
Any advice where I should concentrate so that I can get the better and correct output in the CSV format
Thanks,
Start Free Trial