Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Spreadsheet::WriteExcel with CGI

by helphand (Pilgrim)
on Dec 11, 2005 at 20:16 UTC ( #515900=note: print w/ replies, xml ) Need Help??


in reply to Spreadsheet::WriteExcel with CGI

I've written many spreadsheets far larger than 242 rows with this module, so unless you are hitting the 7meg point, I'd say the problem is something else.

Your content type looks funny to me, I use

print "Content-type: application/vnd.ms-excel\n"; print "Content-Disposition: attachment; filename=${fn}\n\n"; my $workbook = Spreadsheet::WriteExcel->new("-");

As to a workaround, the technique I've used for spreadsheets that involve long db queries to build is to fork off the process in the background and email the resulting spreadsheet file to the user.

Scott

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://515900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (13)
As of 2016-07-26 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (235 votes). Check out past polls.