Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
[stevieb]: I am thankful that I fell into Perl years ago in the manner I did. I don't believe there is another language that people care about so much, that they're willing to give everything. Langs come and go, but in Perl, it seems, things remain consistent.
[stevieb]: The people back then (~2000) are the same people now, but with much more experience. I'm appreciative that I fell into the Perl rabbit hole.
[stevieb]: Coding circles around Python devs, showing how unit tests should be done, enabling easy access to everything, learning basic C to wrap for direct hardware access... I am thankful.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-02-25 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (364 votes). Check out past polls.