in reply to PERL csv files to Excel
You can also switch to the combination of Text::CSV_XS + Excel::Writer::XLSX. The Text::CSV_XS release comes with csv2xlsx script (documentation).