On Wed, 26 Feb 2003 17:34:10 +1100, Clinton wrote: > I'm trying to parse an uploaded csv file. From the HTTP info I have a string > that looks like this > ... > Unfortunately if the CSV file has punctuation (Wilfred De'Silva) everything > falls in a heap. > How can I pull out the data without relying on $2 ([\w+\,\w+\s\w+\r\n]+) > which seems to be the bit that grabs the CSV values
Don't reinvent the wheel. I would suggest to use an existing module, e.g. Text::CSV Text::CSV_XS Tie::CSV_File Greetings, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]