Closed pryrt closed 3 years ago
I am willing to admit that having "dbg" in the VERSION string is non-standard (and when I release, it won't be in there), but it's something I've done to indicate debugging version before I'm ready for release. if that's unsupported, fine.
It is unsupported. $VERSION must only contain digits, dots, underscores, and an optional leading v.
See http://blogs.perl.org/users/grinnz/2018/04/a-guide-to-versions-in-perl.html for further reading on how Perl module versions work.
Like I said, when I release, I don't include the text; it had just always worked without warning every time I'd used that as a temporary indicator, but started warning in v7.58. But since it's not supported, I'll close the issue.
FWIW, this is likely the commit that started reporting this to the user as an issue. https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/65a78780d42e4e11c57fb39d2a1078792a68ed8a
And the referenced ticket. https://rt.cpan.org/Public/Bug/Display.html?id=132875
BTW: thank you for replying so quickly. Such quick support is appreciated
I have a module which builds just fine when I use ExtUtils::MakeMaker v7.36 (with strawberry perl 5.30.0). But if I upgrade to ExtUtils::MakeMaker v7.58, I get the warning
I actually first saw it when running CI on my project, where I happened to re-run the CI on the same commit:
so it was working the old way as recently as v7.46. I did not bisect any farther to find out exactly which version between v7.46 and v7.58 caused the change in behavior
Making an SSCCE:
Makefile.PL:
blah.pm:
If you run
perl Makefile.PL
on the above with EU::MM v7.36, it works just fine. If you run it with EU::MM v7.58, it gives the warningIf I change the line to
it will work without warning on either.
So there is a change in behavior. If this behavior was intended; fine. But in case it was unintentional, I thought I would point it out.