in reply to Require script to parse text file

See Spreadsheet::WriteExcel for the Excel portion.