- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一段简单的代码,它没有加载 excel 文件。无法弄清楚我做错了什么:
my $parser = Spreadsheet::ParseExcel->new();
my $workbook = $parser->parse("test.xlsx");
if ( !defined $workbook ) {
print("Unable to load workbook \n");
}
最佳答案
来自 Spreadsheet::ParseExcel 的文档:
The Spreadsheet::ParseExcel module can be used to read information from Excel 95-2003 binary files.
The module cannot read files in the Excel 2007 Open XML XLSX format. See the Spreadsheet::XLSX module instead.
关于excel - 无法在 perl 中使用 Spreadsheet::ParseExcel 读取 Excel 2013 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30430662/
我一直在使用 Spreadsheet::ParseExcel列出电子表格的内容。我见过几个关于如何转储整个电子表格的示例。我真的很想看看如何更有选择性地使用这个脚本。 下面来自 IBM 的示例基本上转
编译以下代码时出现 2 个错误: #!/usr/bin/perl use strict; use warnings; use Spreadsheet::ParseExcel; my $xlsparse
我有一个 18M 的 Excel 电子表格需要解析,而 Spreadsheet::ParseExcel 消耗了太多内存,以至于我不得不切换到 Spreadsheet::ParseExcel::Stre
我正在使用 Spreadsheet::ParseExcel模块。我想用 Excel 数据创建哈希的哈希: { 'P343453' => { 'Date' => 030220
刚安装Spreadsheet::ParseExcel模块,但有问题。看到一些相关的问题,但不完全相同。 #!/usr/bin/perl -w
我有一个使用 Spreadsheet::ParseExcel 的 Perl 程序。但是,出现了两个困难,我一直无法弄清楚如何解决。该程序的脚本如下: #!/usr/bin/perl use stric
Can't locate Spreadsheet/ParseExcel.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2
我正在尝试在 Solaris 上安装 SpreadSheet::ParseExcel 但它失败并出现此错误, 需要 Perl v5.8.0——这只是 v5.6.1,停在 这个模块与 perl v5.6
我有一段简单的代码,它没有加载 excel 文件。无法弄清楚我做错了什么: my $parser = Spreadsheet::ParseExcel->new(); my $workbook = $p
我正在尝试打开两个 Excel .xls 文件进行比较。我包括了 use Spreadsheet::ParseExcel; 然后,我继续我的代码如下: my $parser_r
该电子表格与 Excel 97-2003 兼容,权限为 777 use strict; use Spreadsheet::ParseExcel; print "Content-type: text/h
我是一名优秀的程序员,十分优秀!