Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to convert a lovely perl script into a CGI.
The perl script reads in a tab-delimited file, splits
it into elements of an array etc so it is easy to manage... However, when the user submit's a file for the CGI to upload, the tab-delimited format of the original file is not preserved when you read it in line by line. This makes it impossible for the script i have written to work. My question is, how can I preserve the format of the contents of a file when it is submitted to a CGI (file upload)??