Re: How to have Perl 5 and Perl 6 cohabitate nicely on CPAN

[email protected] (Graham Barr)
Newsgroups perl.cpan.workers
Message-ID <[email protected]>
On Apr 14, 2010, at 8:18 AM, Jesse Vincent wrote:
> On Wed, Apr 14, 2010 at 06:14:45AM -0700, Ovid wrote:
>> --- On Wed, 14/4/10, Jesse Vincent <[email protected]> wrote:
>> 
>>> From: Jesse Vincent <[email protected]>
>>> 
>>>> Agreed, but you know you're going to see this and
>>> variants thereof:
>>>> 
>>>>       requires:
>>>>           perl: 6,0
>>>> 
>>>> Should that be a rejection for unknown format? I would
>>> think so.  Better to fail early than have junk spread
>>> throughout the CPAN.
>>>> 
>>> 
>>> Just to confirm, you mean "refuse to index" not "refuse to
>>> propagate
>>> the file", right?
>> 
>> To be honest, I'm not sure. Definitely don't index that, but if someone presents an invalid version, you could wind up with a lot of junk that might be hard to clean out.
> 
> That would be a pretty policy significant change. Historically, so long as your
> tarball is well-formed, you can upload line-noise[1] to PAUSE and it will
> propagate it.

propagate it yes, but not everything gets indexed. to get indexed you have to
follow certain rules. for example if you leave the blib/ directory in your
tarball it will not be indexed.

> [1] Consequently, changing this would entirely break the ability to upload Perl 4 code to the CPAN.

nope. it just would not be indexed. but then perl4 code may not get indexed today either

Graham.
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.