IIRC Spreadsheet::WriteExcel::Examples provides working code which demonstrates all of these.
In reply to Re: spreadsheet writeexcel by marto in thread spreadsheet writeexcel by Biju