converting .xls file to .csv file? [duplicate]
问题 This question already has answers here : How to convert .xls file to .csv file? (2 answers) Closed 5 years ago . My perl script for converting .xls to .csv use Spreadsheet::ParseExcel; my $xlsparser = Spreadsheet::ParseExcel->new(); my $xlsbook = $xlsparser->parse('/home/Admin/Downloads/abc.xls'); my $xls = $xlsbook->worksheet(0); my ( $row_first, $row_last ) = $xls->row_range(); my ( $col_first, $col_last ) = $xls->col_range(); my $csv = '/home/Admin/Downloads/ram.csv'; for my $row ( $row