Michael Peters wrote:

And then remember to close your workbook when it's done.

Also remember to send the right content type and other headers:

  $self->header_add('-type' => 'application/vnd.ms-excel');

And if you're not going with CAP::Stream, then also mime-type, content-length, and content-disposition/attachment. But really CAP::Stream makes this whole thing so much easier. And you can probably do the cleanup in your teardown method.

--
Michael Peters
Plus Three, LP


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to