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 6:48 AM, Tim Bunce wrote:
> 
>> If we separate Perl 5 and Perl 6 distributions within the file system,
>> we can distinguish between them easily and without relying on indexes,
>> meta data files or other elements of complexity.
> 
> True, but is that *really* a significant need? Why bother?

If we do not, then we need a different naming convention for the tar files.
Otherwise how can we upload FooBar-1.45.tar.gz that works for perl5 and also
FooBar-1.45.tar.gz that is written in perl6

The perl5 version may work with perl6, but no visa-versa.

I think there needs to be some separation in the file space in order
to do this. Using a directory perl6/ and controlling that via PAUSE
seems a bit more reliable and consistent than expecting users to use
a particular convention not to confuse files.

>> We also thought that it might be relatively easy for to add
>> radio-boxes to the PAUSE upload page to indicate Perl 5 or Perl 6 and
>> to place Perl 6 distributions into the proper directory without it
>> having to be specified explicitly.  (Whether it *must* be specified as
>> one or the other, which would require updates to Perl 5 tools like
>> CPAN::Uploader I will defer to Andreas' judgment.)
> 
> No need for a radio-box if PAUSE auto-detects from the META file.

I think there are arguments both for and against. For example
what to do if PAUSE cannot detect ?

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.