in reply to how to use spreadsheet
You can check out the Spreadsheet::WriteExcel, Spreadsheet::ReadExcel, or many of the other Excel modules you can find on CPAN Search.
Good luck! :)