Subject: | Can't use 'defined(@array)' |
Test suite of Log-Any-Adapter-Daemontools-0.090000_001 fails with perl 5.22.x and 5.23.x:
PERL_DL_NONLAZY=1 "/opt/perl-5.22.1/bin/perl5.22.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Bailout called. Further testing stopped:
# Failed test 'use Log::Any::Adapter;'
# at t/01-basics.t line 9.
# Tried to use 'Log::Any::Adapter'.
# Error: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home/cpansand/.cpan/build/2016010309/Log-Any-Adapter-Daemontools-0.090000_001-mFszZE/blib/lib/Log/Any/Adapter/Daemontools.pm line 355.
# Compilation failed in require at (eval 10) line 1.
# BEGIN failed--compilation aborted at t/01-basics.t line 9.
# Use of uninitialized value $reason in concatenation (.) or string at /opt/perl-5.22.1/lib/5.22.1/Test/Builder.pm line 1272.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
FAILED--Further testing stopped.
Makefile:856: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255