in reply to
Parsing CSV file
It would be ok if you have control on your input file. If not, and if there are comma in a string, then it won't work.
"string",2,,"a,b,c",1.234
[download]
The Perl Cookbook has a chapter
Parsing Comma-Separated Data
which cover the whole thing more thoroughly.
Comment on
Re: Parsing CSV file
Download
Code
In Section
Seekers of Perl Wisdom