Subject: | Undeclared dependency CGI |
See subject. Newer perls do not bundle CGI.pm anymore, so it has to be declared in PREREQ_PM, otherwise the test suite may fail:
# Failed test 'use Wiki::Toolkit::Formatter::Default;'
# at t/001_load.t line 4.
# Tried to use 'Wiki::Toolkit::Formatter::Default'.
# Error: Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: ... .) at /tmpfs/.cpan-build-cpansand/2016110106/Wiki-Toolkit-0.84-0/blib/lib/Wiki/Toolkit/Formatter/Default.pm line 10.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016110106/Wiki-Toolkit-0.84-0/blib/lib/Wiki/Toolkit/Formatter/Default.pm line 10.
# Compilation failed in require at t/001_load.t line 4.
# BEGIN failed--compilation aborted at t/001_load.t line 4.
# Looks like you failed 1 test of 17.
t/001_load.t ...........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/17 subtests
(less 5 skipped subtests: 11 okay)
...