in reply to create xlsx

Have you taken a look at Excel::Writer::XLSX to create XLSX files?

Replies are listed 'Best First'.