On Fri, Feb 5, 2010 at 3:00 PM, Barbie <bar...@missbarbell.co.uk> 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