in reply to Creating a CSV file

Text::xSV is the easiest to use. Older standards include Text::CSV and Text::CSV_XS.

The Perfect is the Enemy of the Good.