Skip to content

"cpan -l" throws warnings #197

@markov2

Description

@markov2

Easy to miss in the long output:

cpan -l >/dev/null
Use of uninitialized value $ExtUtils::MakeMaker::_version::class in concatenation (.) or string at (eval 2121) line 7, <FILE> line 162.
Use of uninitialized value $ExtUtils::MakeMaker::_version::VERSION in concatenation (.) or string at (eval 2121) line 7, <FILE> line 162.
Use of uninitialized value $ExtUtils::ParseXS::VERSION in numeric ge (>=) at (eval 3442) line 7, <FILE> line 26.

Running CPAN-2.38, ExtUtils-MakeMaker-7.76, and ExtUtils::ParseXS 3.60 (all the latest releases at this moment) on Perl 5.38.2 on Linux.

The eval makes debugging hard for me. But these may help: (the only references in my installation)

/home/perl/5.38.2/lib/site_perl/5.38.2/ExtUtils/MM_Unix.pm:        package ExtUtils::MakeMaker::_version;
/home/perl/5.38.2/lib/site_perl/5.38.2/App/Cpan.pm:		  ExtUtils::MakeMaker::_version;

The last line seems to come from:

XS/Install/ParseXS.pm:  my $new_parsexs = $ExtUtils::ParseXS::VERSION >= 3.53;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions