Subject: | Undeclared dependency Moose::Role |
Module compilation fails if Moose::Role is not installed:
...
Bailout called. Further testing stopped:
# Failed test 'use Role::Random::PerInstance;'
# at t/00-load.t line 10.
# Tried to use 'Role::Random::PerInstance'.
# Error: Can't locate Moose/Role.pm in @INC (you may need to install the Moose::Role module) (@INC contains: ... ) at /home/cpansand/.cpan/build/2019060505/Role-Random-PerInstance-0.01-4/blib/lib/Role/Random/PerInstance.pm line 3.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019060505/Role-Random-PerInstance-0.01-4/blib/lib/Role/Random/PerInstance.pm line 3.
# 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 $Role::Random::PerInstance::VERSION in concatenation (.) or string at t/00-load.t line 13.
# Testing Role::Random::PerInstance , Perl 5.028002, /usr/local/bin/perl
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
*** Error code 1
...