Subject: | Undeclared dependency Class::Accessor::Fast |
It seems that Class::Accessor::Fast has to be declared as a dependency, otherwise automatic build+test fails:
...
# Failed test 'use Data::Throttler::Memcached;'
# at t/01_load.t line 6.
# Tried to use 'Data::Throttler::Memcached'.
# Error: Base class package "Class::Accessor::Fast" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: ... .).
# at /home/cpansand/.cpan/build/2020022214/Data-Throttler-Memcached-0.00003-0/blib/lib/Data/Throttler/BucketChain/Memcached.pm line 9.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2020022214/Data-Throttler-Memcached-0.00003-0/blib/lib/Data/Throttler/BucketChain/Memcached.pm line 9.
# Compilation failed in require at /home/cpansand/.cpan/build/2020022214/Data-Throttler-Memcached-0.00003-0/blib/lib/Data/Throttler/Memcached.pm line 9.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2020022214/Data-Throttler-Memcached-0.00003-0/blib/lib/Data/Throttler/Memcached.pm line 9.
# Compilation failed in require at t/01_load.t line 6.
# BEGIN failed--compilation aborted at t/01_load.t line 6.
# Looks like you failed 1 test of 1.
t/01_load.t ..........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...