Subject: | Undeclared dependency CGI |
For newer perls CGI.pm has to be declared as a dependency:
...
# Failed test 'use Text::SmartLinks;'
# at t/01-load.t line 11.
# Tried to use 'Text::SmartLinks'.
# Error: Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: ... .) at /home/cpansand/.cpan/build/2018111704/Text-SmartLinks-0.01-0/blib/lib/Text/SmartLinks.pm line 14.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018111704/Text-SmartLinks-0.01-0/blib/lib/Text/SmartLinks.pm line 14.
# Compilation failed in require at t/01-load.t line 11.
# BEGIN failed--compilation aborted at t/01-load.t line 11.
Can't locate object method "new" via package "Text::SmartLinks" at t/01-load.t line 15.
# Looks like your test exited with 255 just after 2.
t/01-load.t ............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/6 subtests
...