in reply to How to add headers to columns in excel
If you are on a windows environment and have excel installed, Win32::OLE is also a good choice.
The following links can give you a good start: