Re: "legal" distribution names

[email protected] (David Golden)
Newsgroups perl.cpan.workers
Message-ID <[email protected]>
On Fri, Feb 5, 2010 at 3:00 PM, Barbie <[email protected]> wrote:
> On Fri, Feb 05, 2010 at 07:34:16PM +0000, David Cantrell wrote:
>> Can someone remind me of the regex to match "legal" distribution names?
>>
>> I just had a bug reported for CPANdeps which only showed up when someone
>> pointed it at A/AU/AUTHOR/Foo-Bar-Baz-v1.2.3.tar.gz.  Is the use of a
>> v-string there kosher?
>
> If CPAN::DistnameInfo accepts it, which I believe it does, then it's
> valid.

That's a reasonable test -- though I think it's not as liberal as
PAUSE itself.  I don't have an example off the top of my head though.

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.