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.

print "Content-type: text/csv\n"; #Changed content-type to CSV print "Content-Disposition: attachement; filename=test.xls\n\n"; print $excel;
Hope this works.

--VC



There are three sides to any argument.....
your side, my side and the right side.

Replies are listed 'Best First'.
Re^2: Excel csv with Perl
by ichabod (Novice) on Sep 19, 2007 at 05:44 UTC
    No effect. Still using excel but one record is still in one cell.

    Thanks...