Skip Menu |

This queue is for tickets about the Spreadsheet-Read CPAN distribution.

Report information
The Basics
Id: 44059
Status: resolved
Priority: 0/
Queue: Spreadsheet-Read

People
Owner: Nobody in particular
Requestors: j.bonte [...] legian.nl
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in:
  • 0.33
  • 0.34
Fixed in: 0.35



Subject: Spreadsheet::Read minimal version check for Text::CSV_XS is incorrect
Installing Spreadsheet::Read version 0.34 failed with the following error. t/20_csv.......# Parser: Text::CSV_XS-0.23 t/20_csv.......ok 1/117Can't call method "eof" on an undefined value at /local/users/netman/.cpan/build/Spreadsheet-Read-0.33/blib/lib/Spreadsheet/Read .pm line 283, <$in> line 5. # Looks like you planned 117 tests but only ran 2. # Looks like your test died just after 2. Same problem with Spreadsheet::Read version 0.33 Checked the version for Text::CSV_XS and found it to be a bit dated. Show quoted text
cpan> i Text::CSV_XS
Strange distribution name [Text::CSV_XS] Module id = Text::CSV_XS DESCRIPTION Fast 8bit clean version of Text::CSV CPAN_USERID HMBRAND (H.Merijn Brand <h.m.brand@xs4all.nl>) CPAN_VERSION 0.61 CPAN_FILE H/HM/HMBRAND/Text-CSV_XS-0.61.tgz DSLI_STATUS RdcO (released,developer,C,object-oriented) MANPAGE Text::CSV_XS - comma-separated values manipulation routines INST_FILE /local/openpkg/lib/perl/vendor_perl/5.8.7/sun4-solaris/Text/CSV_XS.pm INST_VERSION 0.23 Looks like the 'eof' method of the Text::CSV_XS is not present in version 0.23 of the Text::CSV_XS module. From the Makefile.PL "Text::CSV_XS" => 0.23, # 0.32 or up preferred System is running the minimal version. After installing the latest version of Text::CSV_XS The installation of Spreadsheet::Read was succesfull. Patch: Update the minimal version for "Text::CSV_XS" Additional info: Perl version: "This is perl, v5.8.7 built for sun4-solaris" Operating system: "SunOS <hostname> 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-V240 Solaris"
CC: h.m.brand [...] xs4all.nl
Subject: Re: [rt.cpan.org #44059] Spreadsheet::Read minimal version check for Text::CSV_XS is incorrect
Date: Thu, 12 Mar 2009 10:16:44 +0100 (CET)
To: bug-Spreadsheet-Read [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
Show quoted text
> Installing Spreadsheet::Read version 0.34 failed with the following error. > > t/20_csv.......# Parser: Text::CSV_XS-0.23 > t/20_csv.......ok 1/117Can't call method "eof" on an undefined value at > /local/users/netman/.cpan/build/Spreadsheet-Read-0.33/blib/lib/Spreadsheet/Read
: Show quoted text
> Checked the version for Text::CSV_XS > and found it to be a bit dated.
Only a bit? :) Show quoted text
> Looks like the 'eof' method of the Text::CSV_XS is not present in > version 0.23 of the Text::CSV_XS module.
Correct, ->eof () was added in Text-CSV_XS 0.29 (2007-06-08) Show quoted text
> From the Makefile.PL > "Text::CSV_XS" => 0.23, # 0.32 or up preferred
I'll up that to 0.29 Thanks for the analysis