http://qs1969.pair.com?node_id=815547


in reply to how to print commas in csv

How to retain commas in CSV is a question of how your receiving program parses the CSV. I'd use Text::CSV to write the CSV, then it will write the files mostly like Excel would, using double quotes to denote strings.