Skip Menu |

This queue is for tickets about the Finance-QIF CPAN distribution.

Report information
The Basics
Id: 29686
Status: resolved
Priority: 0/
Queue: Finance-QIF

People
Owner: Nobody in particular
Requestors: kwilliams [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.06
Fixed in: 2.07



Subject: binmode() method not available for IO::File
Running tests for Finance::QIF 2.06 on perl 5.8.6, I get the following error: Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Finance-QIF.....ok 1/962Can't locate object method "binmode" via package "IO::File" at /Users/ken/.cpan/build/Finance-QIF-2.06/blib/lib/Finance/QIF.pm line 201. # Looks like you planned 962 tests but only ran 9. # Looks like your test died just after 9. I don't think there's any need for binmode() anyway since these are text files, right? Certainly I can do fine without it, since I'm on OS X where binmode() doesn't do anything anyway. When I comment out line 201, all tests pass. -Ken
Finance-QIF requires IO::File 1.13. Release 2.07 now will properly check during install that you have an appropriate version of IO::File for Finance-QIF. On Sun Sep 30 22:31:17 2007, KWILLIAMS wrote: Show quoted text
> Running tests for Finance::QIF 2.06 on perl 5.8.6, I get the following > error: > > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', > 'blib/arch')" t/*.t > t/Finance-QIF.....ok 1/962Can't locate object method "binmode" via > package "IO::File" at > /Users/ken/.cpan/build/Finance-QIF-2.06/blib/lib/Finance/QIF.pm line > 201. > # Looks like you planned 962 tests but only ran 9. > # Looks like your test died just after 9. > > I don't think there's any need for binmode() anyway since these are > text files, right? Certainly I > can do fine without it, since I'm on OS X where binmode() doesn't do > anything anyway. > > When I comment out line 201, all tests pass. > > -Ken >