in reply to Using Perl to Output Multiple Files for Download via a Browser
Solution 2: Write the CSV outputs into separate temporary files, then create a response with a HTML document linking to the files.