Spreadsheet-WriteExcel-FromDB - Re: writing into a file

Posted on Fri Aug 19 04:20:50 2005 by jmcnamara in response to 912 (See the whole thread of 3)
Re: writing into a file

You can use something like the following:

# Spreadsheet::WriteExcel::FromDB code. ... open FH, '>test.xls' or die "Couldn't open excel file: $!\n"; binmode FH; print FH $ss->as_xls; close FH;

See the perlopentut manpage, and the print() and open() functions in the perlfunc manpage (or the equivalent Windows docs).


John.
--
Direct Responses: 915 | Write a response