Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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


Comment on Re: Spreadsheet::WriteExcel with CGI
Download Code

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 imbibing at the Monastery: (17)
As of 2014-07-23 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (152 votes), past polls