in reply to Create CSV File

it seems that the best option is using the Text::CSV module is this true?
Using Text::CSV is a recommended way to create a CSV file. Whether it is the "best" way depends on what requirements you have. Try it out and see if it suits your purposes. See also Text::CSV_XS.