|We don't bite newbies here... much|
Using Perl to Output Multiple Files for Download via a Browserby Loops303 (Novice)
|on Mar 06, 2013 at 16:33 UTC||Need Help??|
Loops303 has asked for the
wisdom of the Perl Monks concerning the following question:
I am building a web form for a user to upload a csv file, check off what outputs they want (e.g., Report 1, Invoice, etc.) and then the script grabs the upload form and is supposed to spit out the various things they checked off as individual CSV files.
My problem is I can output to 1 single CSV, not multiple ones.
Which works to output the fist file.
For the next file, I've tried to start with the same above (with filename=test2.csv) or just the Content Disposition with a new filename.
The goal is to output test.csv and test2.csv.
What happens instead is it prints the content intended for test2 into test.csv.
Any advice on how to proceed will be much appreciated!