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

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

Thread Previous | Thread Next
From:
Ken Williams
Date:
March 26, 2003 06:31
Subject:
Re: rfc: a generic solution for dual-life CPAN packages
Message ID:
9FA0D446-5F97-11D7-A9E2-003065F6D85A@mathforum.org

On Tuesday, March 25, 2003, at 09:43  PM, Stas Bekman wrote:

> Currently CPAN.pm has a special logic to make sure that if a requested 
> package is found in the core perl distribution and in another package, 
> that another package takes the precedence if its VERSION number is the 
> same or higher than the VERSION number of that package in the core 
> perl distro.
>
> Now I working on a helper package for mod_perl CPAN modules (to reduce 
> the craft in Makefile.PL) and I want it to be on CPAN, but also 
> include it in the mod_perl 1.0 and 2.0 core (also living on CPAN). I 
> foresee a problem with CPAN.pm, as it's going to see the same package 
> in 3 different packages and which is going to be picked by CPAN.pm is 
> undefined, since we have no special case logic for mod_perl-core 
> packages. And we don't want CPAN.pm to try to install mod_perl 1.0, 
> when I just want to fetch that single package.
>
> [snip]

My recommendation would be to not include the helper package in the two 
core packages, and to just add it as a dependency.  Even if CPAN were 
changed in the way you suggest, it wouldn't work properly with people's 
stock CPANs, and it seems bad for mod_perl to depend on a certain 
version of CPAN.

  -Ken


Thread Previous | Thread Next


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