On Jun 10, 2004, at 8:13 AM, Virmani, Amit (GMI Debt Technology) wrote:

I am a novice in Perl...
I have a file with records of fields in double quotes separated by commas, for example:
"abc","123xyz","Test 1","Test 2","100,000"...

What you describe is the CSV file format and there's really no good reason to parse it yourself. The CPAN module Text::CSV_XS is very nice and reduces this problem to practically no work at all. Check it out.


James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to