making an export CSV button with perl-cgi
I currently have an HTML table with data in it. I am new to Perl and I want to take my HTML table and allow users to hit an "Export to CSV" button which will allow them to download the data in the table to a file. There is also going to be checkboxes so that the user can specify which columns from the table they want in the file. I am unfamiliar with this, and haven't done much file writing/reading stuff in Perl. I've searched the web and have been unable to find a good solution/example for this problem. Help is appreciated!