简体   繁体   English

用于编写excel2007工作簿的perl模块

[英]perl module for writing excel2007 workbook

I have a huge report coming out of a tool from which i extract the some important data and write a excel file. 我有一个巨大的报告来自一个工具,我从中提取一些重要数据并编写一个excel文件。 Till now i used the module Spreadsheet::WriteExcel, but it crashed when the number of rows exceed 65535. Is there any other module which supports generating excel for huge data? 直到现在我使用了模块Spreadsheet :: WriteExcel,但是当行数超过65535时崩溃了。还有其他模块支持为大数据生成excel吗? I checked in CPAN, found modules for reading excel2007 files but couldnt find one for writing. 我检查了CPAN,找到了用于读取excel2007文件的模块,但找不到写入的文件。 I am not writing a csv because, i want to generate multiple worksheets in the excel file. 我不是在编写csv,因为我想在excel文件中生成多个工作表。

Excel :: Writer :: XLSXSpreadsheet :: WriteExcel的API兼容替代品,支持Excel 2007 xlsx格式和增加的行/列限制。

If you check the bugs link on the Spreadsheet::WriteExcel cpan site, you will notice there is an defect which is open for more than 11 months for this exact issue. 如果您检查Spreadsheet :: WriteExcel cpan站点上的错误链接 ,您会发现此问题的缺陷超过11个月。

Bug ID: 54902 错误ID: 54902

That said, can't you instead try writing in chunks of 65536 rows in each spreadsheet and later collate it? 也就是说,你不能尝试在每个电子表格中写入65536行的块,然后再整理它吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM