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