Subject: | Undeclared dependency CGI |
The test suite fails if CGI.pm is not installed:
...
# Failed test 'use WWW::Selenium::Utils::CGI;'
# at t/0-use.t line 6.
# Tried to use 'WWW::Selenium::Utils::CGI'.
# Error: Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: lib /home/cpansand/.cpan/build/2018012918/WWW-Selenium-Utils-0.09-9/inc /home/cpansand/.cpan/build/2018012918/WWW-Selenium-Utils-0.09-9/blib/lib /home/cpansand/.cpan/build/2018012918/WWW-Selenium-Utils-0.09-9/blib/arch /opt/perl-5.26.1t/lib/site_perl/5.26.1/x86_64-linux-thread-multi /opt/perl-5.26.1t/lib/site_perl/5.26.1 /opt/perl-5.26.1t/lib/5.26.1/x86_64-linux-thread-multi /opt/perl-5.26.1t/lib/5.26.1 .) at lib/WWW/Selenium/Utils/CGI.pm line 7.
# BEGIN failed--compilation aborted at lib/WWW/Selenium/Utils/CGI.pm line 7.
# Compilation failed in require at t/0-use.t line 6.
# BEGIN failed--compilation aborted at t/0-use.t line 6.
# Looks like you failed 1 test of 2.
t/0-use.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
... (etc) ...
CGI.pm is not anymore part of newer perl installations by default and has to be declared as a prerequisite now.