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

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

Stas Bekman
March 26, 2003 15:49
Re: rfc: a generic solution for dual-life CPAN packages
Message ID:
Andreas J. Koenig wrote:
>>>>>>On Wed, 26 Mar 2003 14:43:26 +1100, Stas Bekman <> 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     mod_perl Guide ---> Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About