Subject: | Can't use 'defined(%hash)' |
The test suite fails with perl 5.21.x. The proposed fix is included in the error diagnostics, see below:
PERL_DL_NONLAZY=1 "/bbbike/perl-5.21.11/bin/perl5.21.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'use Rose::DBx::Object::Cached::FastMmap;'
# at t/001_load.t line 7.
# Tried to use 'Rose::DBx::Object::Cached::FastMmap'.
# Error: Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /tmpfs/.cpan-build/Rose-DBx-Object-Cached-FastMmap-0.05-3r7m5t/blib/lib/Rose/DBx/Object/Cached/FastMmap.pm line 333.
# Compilation failed in require at t/001_load.t line 7.
# BEGIN failed--compilation aborted at t/001_load.t line 7.
Can't locate object method "new" via package "Rose::DBx::Object::Cached::FastMmap" at t/001_load.t line 9.
# Looks like you planned 2 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/001_load.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests