Subject: | Undeclared dependency CGI |
See subject. The test suite fails if CGI.pm is not installed (which is the case for newer perls):
...
PERL_DL_NONLAZY=1 "/opt/perl-5.30.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'use WWW::Resource;'
# at t/WWW-Resource.t line 9.
# Tried to use 'WWW::Resource'.
# Error: Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: ... .) at /home/cpansand/.cpan/build/2020010300/WWW-Resource-0.01-0/blib/lib/WWW/Resource.pm line 14.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2020010300/WWW-Resource-0.01-0/blib/lib/WWW/Resource.pm line 14.
# Compilation failed in require at t/WWW-Resource.t line 9.
# BEGIN failed--compilation aborted at t/WWW-Resource.t line 9.
# Looks like you failed 1 test of 1.
t/WWW-Resource.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...