Subject: | does not handle ranges in prereq entries |
When I create a prereq entry like this:
[Prereqs / DevelopConflicts]
Dist::Zilla::Plugin::Conflicts = == 0.11
I get this out of 'dzil release':
Invalid version format (non-numeric data) at /Users/ether/.perlbrew/libs/19.2@std/lib/perl5/Dist/Zilla/Plugin/CheckPrereqsIndexed.pm line 54.
Version ranges are legal:
https://metacpan.org/module/CPAN::Meta::Spec#Version-Ranges
You should be using CPAN::Meta::Requirements to examine the prereq data, rather than parsing directly... see the code in CPAN::Meta::Check for examples.