Subject: | bad VERSION sub |
sub VERSION {
# This variable is created by Dist::Zilla during release
return $Devel::PerlySense::VERSION || "0.0001DEV";
}
This is wrong. See the documentation in UNIVERSAL. A VERSION sub must check the argument that it is passed in.
This isn't even necessary -- Dist::Zilla is capable of keeping the $VERSION in the in-repo version of the module, for testing purposes.