Open Lx opened 9 years ago
Sigh, this is probably Moose re-activating the warnings from another module. Although, I have use sanity
before all of the other Moose stuff, so I could just move that down.
I'll do that, and also remove the smartmatch, since I'm just needing an "IN" operator here.
This still seems to be a problem. I'm also getting when is experimental
.
My distribution
Dist::Zilla::PluginBundle::Author::LXP
uses bothDist::Zilla::Plugin::PrereqsClean
andDist::Zilla::Plugin::Test::Compile
.When
Dist::Zilla::Plugin::PrereqsClean
is loaded (under Perl v5.20.1 at least), this warning is generated:Because I also use
Dist::Zilla::Plugin::Test::Compile
, I have at/00-compile.t
test which fails due to the above warning being generated. As a result, I can't get all my tests to pass.What would be the best way to get around this? I suppose
Dist::Zilla::Plugin::PrereqsClean
probably shouldn't be causing that warning to be generated. I guess it could either disable the warning:or forgo the use of smartmatch altogether, but there might be other, more preferable solutions.