use warnings; use strict; use Spreadsheet::Excel2Text qw( XlsSaveToText ); XlsSaveToText("C:\\Excel.xls", "C:\\Excel.txt");