Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 103099
Status: open
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: hsk [...] fli-leibniz.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.10
Fixed in: (no value)



Subject: as of CPAN-2.10, cpan -J may no longer emit pure perl code
according to the docs, cpan -J "dumps the configuration in the same format that CPAN.pm uses". but as of CPAN-2.10, if Log4Perl is not available (which is neither required nor recommended nor suggested), the output of cpan -J starts with a line "Loading internal null logger. Install Log::Log4perl for logging messages". so the output has to be sanitized before it is usable by a subsequent cpan -j. github commit 6f971c4 seems the root of the problem: the commit introduces a line print "Loading internal null logger. Install Log::Log4perl for logging messages\n"; to sub _init_logger() of lib/App/Cpan.pm.
I have a temporary fix as pull request 87 https://github.com/andk/cpanpm/pull/87