As per cpants/www-cpants#10
I initially thought this was due to using
Notation, but its worse than that,
Simply using
package Bar;
{
$Bar::VERSION =
}
instead of
package Bar;
{
$VERSION =
}
Will cause it to fail this test.
And this covers everything created by Dist::Zilla::Plugin::PkgVersion
You may want to use Module::Metadata to support this feature, as this already parses $Foo::VERSION formating, both with and without pkg NAME BLOCK notation.
I'm not sure about pkg NAME VERSION BLOCK notation though.
As per cpants/www-cpants#10
I initially thought this was due to using
Notation, but its worse than that,
Simply using
instead of
Will cause it to fail this test.
And this covers everything created by Dist::Zilla::Plugin::PkgVersion
You may want to use Module::Metadata to support this feature, as this already parses
$Foo::VERSIONformating, both with and withoutpkg NAME BLOCKnotation.I'm not sure about
pkg NAME VERSION BLOCKnotation though.