Benjamin Hitz wrote:
This is probably a vanilla CGI question, but I am working under CGIapp so here goes.

I have a cgi::app that shows a table. I want to have a link which generates a plain text (tab delim) version of the table, and pops up a "save as" window.

I can recommend CGI::Application::Plugin::Output::XSV for this.

And if you have files on disk that you want to serve, I recommend CGI::Application::Plugin::Stream.

Both these plugins take care of the headers and content generation for you, efficiently.

Rhesa

#####  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