Two options: 1.) Just name the file .xls (yes, you got that right) and use tab instead of comma as the delimiter. At least as of Excel 97 (the last time I used Excel), that opens without the import dialog.
2.) Use the Spreadsheet::WriteExcel module from CPAN: http://www.perl.com/CPAN-local/modules/by-module/Spreadsheet/Spreadsheet-WriteExcel-0.39.tar.gz ap ---------------------------------------------------------------------- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On 14 Nov 2002, Chris Knowles wrote: > I've got a CSV file created in a perl script that I would like to send > to people as an Excel File, (Or StarOffice) with no import necessary. > Is there a scriptable way to do this? I've been looking around > freshmeat and google, and haven't found anything obvious, so I thought I > would troll here. > > Thanks, > CJK > > > _______________________________________________ > TriLUG mailing list > http://www.trilug.org/mailman/listinfo/trilug > TriLUG Organizational FAQ: > http://www.trilug.org/~lovelace/faq/TriLUG-faq.html > _______________________________________________ TriLUG mailing list http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ: http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
