Subject: | Undeclared dependency POE |
If POE is not installed, then the test suite fails:
...
Bailout called. Further testing stopped:
# Failed test 'use POE::Component::FunctionBus;'
# at t/00-load.t line 10.
# Tried to use 'POE::Component::FunctionBus'.
# Error: Can't locate POE.pm in @INC (you may need to install the POE module) (@INC contains: /home/cpansand/.cpan/build/2019092307/POE-Component-FunctionBus-0.02-3/blib/lib /home/cpansand/.cpan/build/2019092307/POE-Component-FunctionBus-0.02-3/blib/arch /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30) at /home/cpansand/.cpan/build/2019092307/POE-Component-FunctionBus-0.02-3/blib/lib/POE/Component/FunctionBus.pm line 9.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019092307/POE-Component-FunctionBus-0.02-3/blib/lib/POE/Component/FunctionBus.pm line 9.
# Compilation failed in require at t/00-load.t line 10.
# BEGIN failed--compilation aborted at t/00-load.t line 10.
Use of uninitialized value $POE::Component::FunctionBus::VERSION in concatenation (.) or string at t/00-load.t line 13.
# Testing POE::Component::FunctionBus , Perl 5.030000, /usr/local/bin/perl
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
*** Error code 1
...
It's better to declare POE as a PREREQ_PM, so there are no unnecessary fail reports generated anymore. See also http://fast-matrix.cpantesters.org/?dist=POE-Component-FunctionBus%200.02