Subject: | Too many arguments in import list for the Function::Parameters module |
On some of my smokers t/00_use_ok.t fails:
...
# Failed test 'use Role::MethodReturns;'
# at t/00_use_ok.t line 4.
# Tried to use 'Role::MethodReturns'.
# Error: Too many arguments in import list for the Function::Parameters module at /home/cpansand/.cpan/build/2019122008/Role-MethodReturns-0.02-0mN4Cr/blib/lib/Role/MethodReturns.pm line 99.
# BEGIN failed--compilation aborted at t/00_use_ok.t line 4.
# Looks like you failed 1 test of 1.
t/00_use_ok.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...
It seems that this happens if Function::Parameters is too old (however I don't have statistical analysis available --- there's possibly yet another fail reason).