Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[oiskuu]: .oO(-: V is for Varoufakis :-)
[LanX]: shmem: but only because it is taught in school
LanX remembers one curriculum about benny and the punishment whe we didn't laugh ...hill

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-04-27 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (513 votes). Check out past polls.