in reply to Excel csv with Perl
Content-type application/vnd.ms-excel is used when we send the real excel sheet like one created with Spreadsheet::WriteExcel. If you are sending CSV content, try using "text/csv" as content-type.
Hope this works.print "Content-type: text/csv\n"; #Changed content-type to CSV print "Content-Disposition: attachement; filename=test.xls\n\n"; print $excel;
--VC
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Excel csv with Perl
by ichabod (Novice) on Sep 19, 2007 at 05:44 UTC |