So I have a question about versioning, either/especially about compilation
units, but also Perl 6 itself.
For context I refer to http://design.perl6.org/S11.html#Versioning .
With regard to "use" statements and specifying 'auth' or 'ver' to restrict
between versions, it seems to me that the spec defines them interacting in a
For example, given this possibly incorrect syntax:
use Dog:auth<cpan:TPF cpan:JRANDOM>:ver(4-6, 10-15);
... that would be satisfied by any of TPF versions 4-6,10-15 or JRANDOM versions
However, what I want is to restrict the 'ver' differently depending on the
'auth', treating them more as the hierarchy they are, assuming that different
authorities may go off and use different versioning schemes.
The question I have is how to 'or' the following into a single 'use Dog' that
isn't any less restrictive:
That is, the cross-product answer is not restrictive enough.
I don't know if this hypothetical use case has been discussed before, but if
not, I hope that the Perl 6 specification has or can gain a clean way to say how
-- Darren Duncan