develooper Front page | perl.perl5.porters | Postings from March 2003

Re: rfc: a generic solution for dual-life CPAN packages

From:
Stas Bekman
Date:
March 26, 2003 15:49
Subject:
Re: rfc: a generic solution for dual-life CPAN packages
Message ID:
3E823C17.7050006@stason.org
Andreas J. Koenig wrote:
>>>>>>On Wed, 26 Mar 2003 14:43:26 +1100, Stas Bekman <stas@stason.org> said:
>>>>>
> 
>   > Once we have this logic in place, we no longer need to make a special
>   > case for the perl core, but let every package that has a dual (or a
>   > ternary) life define its master package.
> 
> I'm sorry, I cannot follow you. Can you make up a more specific
> example: which packages, which version numbers, which owners, which
> one is to be indexed and why and why not?

Let's say we have a module Foo::Bar, which has a dual life. It's distributed 
in the original (master) package Far-Tar-0.01.tar.gz and is also included in 
an another package Mar-Car-0.06.tar.gz. The module Foo::Bar has the same 
version in both packages. What I'm asking for is a way to tell the indexer to 
pick the package Far-Tar-0.01.tar.gz when asked for module Foo::Bar.

My proposal is to introduce a special variable inside the package Foo::Bar 
which will tell the indexer that its master package is 'Far-Tar'.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About