I needed to be able to write form submissions to a CSV file for backup and data manipulation. The following patch does the job.
- It requires Text::CSV be availble
- A new config parameter called 'csv_file' is expected with the path to write the file to
- A header line is only output if the file exists and size is 0
- If you change your form, you should reset your csv file. No warnings are in place to let you know that changes are happening.