Subject: | Can't use 'defined(@array)' |
The test suite fails with newer perls (>= 5.22):
...
PERL_DL_NONLAZY=1 "/usr/perl5.22.3p/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home/cpansand/.cpan/build/2017121212/XML-XSH-1.8.5-3/blib/lib/XML/XSH/Completion.pm line 111.
Compilation failed in require at /home/cpansand/.cpan/build/2017121212/XML-XSH-1.8.5-3/blib/lib/XML/XSH.pm line 10.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017121212/XML-XSH-1.8.5-3/blib/lib/XML/XSH.pm line 10.
Compilation failed in require at t/01basic.t line 164.
BEGIN failed--compilation aborted at t/01basic.t line 164.
# Failed test 1 in t/01basic.t at line 163
# t/01basic.t line 163 is: END { ok(0) unless $loaded; }
t/01basic.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 67/67 subtests
...