Subject: | Indexing weirdness with $VERSION |
Hello,
I noticed this warning popped up while doing "dzil test" on my distro:
Checking prerequisites...
requires:
! Couldn't find a $VERSION in prerequisite Dist::Zilla::Plugin::ReportPhase
It seems like Module::Metadata and friends wasn't able to parse the version assignment that used two lines. It is my understanding that usually adding a newline inbetween the = signifies some sort of PAUSE magic to not index the module. This is worrisome!
The fix is simple: remove the newline in:
BEGIN
{
$Dist::Zilla::Plugin::ReportPhase::VERSION
= substr '$$Version: 0.03 $$', 11, -3;
}
--
~Apocalypse
Subject: | reportphase.error |
Message body not shown because it is not plain text.