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"