(Original patch modified by David Golden <firstname.lastname@example.org)
The result of this commit is that the 'license' parameter may contain either one of the pre-defined license keywords, or a Software::License subclass (e.g. 'Perl_5'). If the S::L subclass provides a meta name, it will be used. Otherwise, the META license field will be 'unknown'.
- New method _case_tolerant to cache slow File::Spec::case_tolerant calls. I wrote those upstream methods, I should know. This fixes RT#55162, improving performance from typically 5 min to 10 seconds. - Make file_qr a method. - Do not store uppercased paths on case_tolerant filesystems, only do case-insensitive comparisons. [Reini Urban] Signed-off-by: David Golden <email@example.com>
The version method now just returns undef (RT#59593)
Also fixes test problems.
I've been using M::B::Compat for a while and saw this happen from time to time: Prereq '0.1.2' for 'File::Find::Object' is not supported by Module::Build::Compat I meant to patch it so the message is more helpful for us authors who get perplexed at first. Then, after some digging around the guts of M::B, I realized it could auto-convert the "common" dotted-decimal case to the proper format. 0.1.2 -> 0.001002 Here's the patch that adds the auto-conversion logic and some tests for it. However, I'm not entirely sure the conversion logic is ok, and one of my test blocks FAILs. ( patch applied against SVN r14210 ) I'm hoping this is a good building block for you to use and tweak until it's working :) P.S. Thanks goes to rindolf ( Shlomi Fish ), who reminded me of this issue and made me submit this :)