Subject: | htmltable.t fails if CGI is not installed |
Error Opening File-Parser: Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/lib /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/arch /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/arch /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/lib /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/arch /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/lib /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/arch /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/lib /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/arch /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/lib /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/arch /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/lib /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/arch /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/lib /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/arch /usr/local/src/CPAN/build/Test-Output-1.03-KiCPdo/blib/lib /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/arch /usr/local/src/CPAN/build/Sub-Exporter-0.987-PFfNLl/blib/lib /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/arch /usr/local/src/CPAN/build/Data-OptList-0.109-n01eGo/blib/lib /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/arch /usr/local/src/CPAN/build/Params-Util-1.07-sxdwY3/blib/lib /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/arch /usr/local/src/CPAN/build/Sub-Install-0.928-aXICaw/blib/lib /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/arch /usr/local/src/CPAN/build/Test-Tester-0.109-meXx7L/blib/lib /usr/perl5.21.5p/lib/site_perl/5.21.5/amd64-freebsd /usr/perl5.21.5p/lib/site_perl/5.21.5 /usr/perl5.21.5p/lib/5.21.5/amd64-freebsd /usr/perl5.21.5p/lib/5.21.5 .) at /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/lib/AnyData/Format/HTMLtable.pm line 146.
BEGIN failed--compilation aborted at /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/lib/AnyData/Format/HTMLtable.pm line 146.
Compilation failed in require at /usr/local/src/CPAN/build/AnyData-0.11-3l6lfQ/blib/lib/AnyData.pm line 27.
# Looks like you planned 3 tests but ran 1.
# Looks like your test exited with 2 just after 1.
t/htmltable.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
CGI is not anymore part of the standard perl modules since perl 5.21.x, so it has to be declared as a prereq.