I would like to do the same inside my CGI::App but of course I am not allowed to print directly to STDOUT so following this method I would have to suck in the whole file first before I return the output to be handled by run which causes an unacceptable delay if the file is large.

So... how to approach this? Is there a way I can push out a file as a download from within CGI::Application without having to suck the whole thing into memory first?

Check out CGI::Application::Plugin::Stream

Regards,
Bradley C Bailey


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