Subject: | Support for advanced version ranges |
It seems like Test::RDF has breakage for Scalar::Util 1.23 and only for
that version. So, I'd like to express that in makefile.ttl somehow, and
it seems like I should be able to do that:
https://metacpan.org/module/CPAN::Meta::Spec#Version-Ranges
I tried this:
https://github.com/kjetilk/Test-RDF/blob/master/meta/makefile.ttl#L11
but it failed:
*** Module::AutoInstall version 1.06
*** Checking for Perl dependencies...
[Core Features]
- Test::Tester ...loaded. (0.107)
- RDF::Trine ...loaded. (1.002 >= 0.134)
- Test::More ...loaded. (0.98)
- Scalar::Util ...loaded. (1.25)
- !=1.23 ...missing.
- Test::Builder::Module ...loaded. (0.98)
I assume that the problem may be rather deep in the stack, since putting
requires 'Scalar::Util' => '!= 1.23';
in Makefile.PL fails similarly. I suppose I'd need to stuff a hash with
a version key in there, but I also suppose this module can't do that.
So, my question is if this is something that this module could support?
It would be nice to be able to not force more than necessary in the prereqs.
Best,
Kjetil