Subject: | Install at least warnings::compat so the CPAN shell knows its installed |
On modern perls, warnings::compat will not install itself to avoid
blowing over the real warnings.pm. This is good but I realize there's a
problem. Since nothing is installed things like the CPAN shell don't
realize that the dependency has been resolved. For each module which
declares a dependency on warnings::compat the CPAN shell will download
and install warnings::compat.
It should install warnings::compat to indicate its already there and
stop the continual reinstallation. Simply replace the PM line in
Makefile.PL with the following.
( $] >= 5.006 ? (PM => {
"lib/warnings/compat.pm" => '$(INST_LIBDIR)/warnings/compat.pm'
})
: () ),