Take a look at DBD::Excel, or Spreadsheet::ParseExcel and Spreadsheet::WriteExcel.
In reply to Re: editing excel files by jasonk in thread editing excel files by Mahoota