Open toddr opened 4 years ago
Changing some of these paths would require coordination between the various modules that use them.
I would assume they'd be 5 for now so no coordination would be needed? But if other code is also assuming 5 then totally we need to fix those up regardless.
The things that come to mind immediately that this will impact includes: local::lib, Module::Build, Module::Build::Tiny, ExtUtils::InstallPaths, https://github.com/Perl-Toolchain-Gang/cpan-api-buildpl/blob/master/lib/CPAN/API/BuildPL.pm#L275, CPAN.pm, cpanm, cpm, Carton
The stuff in lib/ExtUtils/MakeMaker.pm and lib/ExtUtils/MakeMaker/FAQ.pod is just documentation, not functional.
The real stuff is in in MM_Any.pm and MM_Unix.pm
lib/ExtUtils/MM_Any.pm: my $libstyle = $Config{installstyle} || 'lib/perl5';
lib/ExtUtils/MM_Any.pm: $manstyle = $self->{LIBSTYLE} eq 'lib/perl5' ? 'lib/perl5' : '';
lib/ExtUtils/MM_Any.pm: lib => [qw(lib perl5)],
lib/ExtUtils/MM_Any.pm: arch => [('lib', 'perl5', $Config{archname})],
lib/ExtUtils/MM_Unix.pm: ("perl$Config{version}", 'perl5', 'perl');
and relates to INSTALL_BASE
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/blob/master/lib/ExtUtils/MM_Any.pm#L2196
It affects where the installed module will end up so the downstream tools that @haarg mentioned will need to be similarly updated.
@bingos I see you've been doing some cleanup. Thank you!
I wanted to make sure we shared this with you so you were aware. we noticed that perl5 is mentioned explicitly in some places. Maybe these places could use
$^V->{version}->[0]
or evenint $]
to get the major?Thanks for everything you do.
Todd