Subject: | Test::Builder::_try or: use auto_include_deps instead auto_include? |
(Seen with version 0.05004, and also with older versions)
Testing DMAKI distributions I see often the following error:
Can't locate object method "_try" via package "Test::Builder" at
/var/tmp/CPAN-build/Google-Chart-0.05003-rpBR48/inc/Test/More.pm line 538.
I assume the problem is caused by bundling a recent Test::More to the
distributions, but not dependent modules like Test::Builder.
Given that auto_include seems to be undocumented and the documented
function auto_include_dependent_dists would also bundle the dependencies
of Test::More, I suggest to use this function instead of auto_include.
Regards,
Slaven