Subject: | Undeclared dependency Switch |
Switch.pm is not anymore part of newer perls and has to be declared as a prerequisite. The test suite fails if this is not done:
Running make test
PERL_DL_NONLAZY=1 "/usr/perl5.24.3-RC1p/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'script compiles'
# at t/compile.t line 11.
# 'Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: ... .) at /home/cpansand/.cpan/build/2018032600/a2pdf-1.13-tN2k0C/blib/lib/App/a2pdf.pm line 17.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018032600/a2pdf-1.13-tN2k0C/blib/lib/App/a2pdf.pm line 17.
# Compilation failed in require at blib/script/a2pdf line 17.
# BEGIN failed--compilation aborted at blib/script/a2pdf line 17.
# '
# doesn't match '(?^:syntax OK$)'
# Looks like you failed 1 test of 1.
t/compile.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests