in reply to I have a few questions

The author states "That [part of the] code is all cut and past from the Spreadsheet::WriteExcel examples". Since Spreadsheet::WriteExcel is licensed under the Artistic License and the GPL then the script will also be licensed under the GPL if not the Artistic license

Disclamer: I am not a lawyer, don't go to court on this advise;)