in reply to Re: Re: Using Spreadsheet::WriteExcel with mod_perl and Content-Disposition?
in thread Using Spreadsheet::WriteExcel with mod_perl and Content-Disposition?
or to some other filehandle like this: my $workbook = Spreadsheet::WriteExcel->new(\*STDOUT);#!/usr/bin/perl -w use strict; use IO::Scalar; use Spreadsheet::WriteExcel; my $xls_str; tie *XLS, 'IO::Scalar', \$xls_str; my $workbook = Spreadsheet::WriteExcel->new(\*XLS); my $worksheet = $workbook->addworksheet(); $worksheet->write(0, 0, "Hi Excel!"); $workbook->close(); # The Excel file is now in $xls_str.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Using Spreadsheet::WriteExcel with mod_perl and Content-Disposition?
by one4k4 (Hermit) on Mar 15, 2001 at 05:22 UTC |