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
In reply to Re: Excel csv with Perl
by atemon
in thread Excel csv with Perl
by ichabod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |