MikeGerard has asked for the wisdom of the Perl Monks concerning the following question:
Trying to debug Perl code to create and write an Excel file. My code worked for years, but stopped working a while back. Most often I read that I should use the module Excel::Writer::XLSX, but my ISP on whose system the code runs refuses to include this (for reasons of security, they say). The code which used to work, should create the excel file in a file with the name specified by the attachment name and put into the downloads directory
my $attachment_name = $start_hour . "_" . $hour_count; print $cgi->header(-type=>"application/vnd.ms-excel", -attachment=>"$attachment_name.xls"); print $cgi->start_html(-title=>"Exported Excel results"); # Write the data print $cgi->end_html;</
The data is no longer written into a created Excel file
2024-08-13 Athanasius fixed leading code tag.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Excel file in perl program
by talexb (Chancellor) on Aug 13, 2024 at 13:17 UTC | |
|
Re: Excel file in perl program
by soonix (Chancellor) on Aug 13, 2024 at 13:59 UTC | |
|
Re: Excel file in perl program
by GrandFather (Saint) on Aug 13, 2024 at 21:38 UTC |