CC: | toby.corkindale [...] strategicdata.com.au |
Subject: | Devel::Cover as a dependency causes CPANPLUS grief (if already present) |
I seem to be hitting an odd edge case involving Module::Install's dependency
checking and CPANPLUS.
I'm attempting to install Task::Kensho via CPANPLUS.
T-K includes Devel::Cover as an optional dependency. As it happens, I already have
it installed.
It seems that as part of the dependency checking, Devel::Cover gets loaded, and
then causes grief a bit later, like so:
$ cpanp
Show quoted text
> i Task::Kensho
... time passes ... I hit 'y' to several prompts ...
Writing Makefile for Task::Kensho
Use of inherited AUTOLOAD for non-method Devel::Cover::set_first_init_and_end() is
deprecated at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread-
multi/Devel/Cover.pm line 243
Devel::Cover::CHECK() called at /usr/local/strategic/perl/bin/cpanp-run-
perl line 0
eval {...} called at /usr/local/strategic/perl/bin/cpanp-run-perl line 0
Can't locate auto/Devel/Cover/set_first_i.al in @INC (@INC contains: inc
/usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread-multi
/usr/local/strategic/perl/lib/site_perl/5.12.2
/usr/local/strategic/perl/lib/5.12.2/x86_64-linux-thread-multi
/usr/local/strategic/perl/lib/5.12.2 .) at /usr/local/strategic/perl/bin/cpanp-
run-perl line 0
-- cannot continue