|Subject:||substr outside of string at /usr/lib64/perl5/site_perl/5.8.8/Spreadsheet/ParseExcel.pm line 1672.|
|Date:||Thu, 18 Dec 2008 11:06:20 -0800|
|To:||bug-Spreadsheet-ParseExcel [...] rt.cpan.org|
|From:||Graham Stead <gstead [...] cox.net>|
First I'd like to say that ParseExcel is way cool, and I use it a lot. I occasionally cannot parse Excel files, receiving the error: "substr outside of string at /usr/lib64/perl5/site_perl/5.8.8/Spreadsheet/ParseExcel.pm line 1672." I've reduced a test file as much as possible: 1 row, 11 cells. The attached test.pl script demonstrates the problem [it basically calls Parse() ]. Is there some possibility you could look at this? I've looked at ParseExcel.pm but don't understand Excel file internals. Other information that may be helpful: Distribution name and version: Spreadsheet::ParseExcel (0.33) Perl version: v5.8.8 built for x86_64-linux Operating System vendor and version: Linux snap 2.6.20-gentoo-r8 #3 SMP Sat Jul 14 11:14:30 PDT 2007 x86_64 Dual Core AMD Opteron(tm) Processor 270 AuthenticAMD GNU/Linux Please let me know if I can provide anything else. best regards, -Graham
use strict; use Spreadsheet::ParseExcel; my $file = $ARGV || "test.xls"; print STDERR "Spreadsheet::ParseExcel::Workbook->Parse($file)\n"; my $excel = Spreadsheet::ParseExcel::Workbook->Parse($file);
Message body not shown because it is not plain text.