Andreas J. Koenig writes: > $spot:<Inconsistent>:(parens) > > >>>>> On Wed, 7 Mar 2007 20:38:17 -0800 (PST), [EMAIL PROTECTED] said: > > > + class Dog:ver<1.2.1>:auth<cpan:JRANDOM>; > > + class Dog:ver<1.2.1>:auth<http://www.some.com/~jrandom>; > > + class Dog:ver<1.2.1>:auth<mailto:[EMAIL PROTECTED]>; > > + class Dog:<1.2.1 cpan:JRANDOM> > > > + class Pooch:name<Dog>:ver<1.2.1>:auth<cpan:JRANDOM> > > + class Pooch:<Dog 1.2.1 cpan:JRANDOM> > > So far you're using angle brackets
That's a string. > > + use Dog:ver(Any):auth(Any); > > From here you start mixing angle brackets and parens. That is not literally the author called "Any" releasing the version "Any", but saying that Any values are permitted. > > + use Dog:<1.2.1>; Literal version number. > > + use Dog:ver<1.2.1>:auth(Any); > > Even in one line. Literal version number, but any author. > > + use Dog:ver(1.2.1..1.2.3); > > + use Dog:ver(1.2.1..^1.3); > > + use Dog:ver(1.2.1..*); > > > + use Dog:ver(1.2.1 | 1.3.4):auth(/:i jrandom/); > > + use Dog:ver(Any):auth({ .substr(0,5) eq 'cpan:'}) > > > + use Perl:ver(v6..*):auth(Any); > > Seems accidentally to me. Those are all ranges or code that specifies which values are permitted, rather than literal values. Smylers