On Fri Sep 30 09:05:23 2011, zefram@fysh.org wrote:
Show quoted text> Ah, crap: I see I was using a totally out-of-date mod_perl distro. I was
> trying to "cpan mod_perl", and it picked up the old version. "cpan APR"
> gets a new version that builds just fine. The CPAN index has an entry
> for mod_perl *as a module* which points at the old mod_perl distro.
>
> So I guess you can reinterpret this bug report as '"cpan mod_perl" gives
> a surprising and misleading result'. You could perhaps fix by removing
> the old distro from CPAN, or by reinstating the mod_perl module in a
> new distro.
>
> -zefram
Thanks for the suggestion. It is still the case that "cpan mod_perl"
gets mod_perl-1.x.
However, you can use "cpan mod_perl2" to get mod_perl-2.x. Do we want to
change that or not?
I can see that most people using mod_perl right now are using
mod_perl-2.x, but what about when mod_perl 3 for Apache 3 is released?
That surely won't be very compatible with mod_perl 2 / Apache 2, and not
everyone will want "cpan mod_perl" to suddenly start getting
mod_perl-3.x because not everyone will upgrade straight away.
If we make "cpan mod_perl" fetch mod_perl-2.x now, on the basis that
that's what most people mean right now, then at what point would we
switch it to fetch mod_perl-3.x instead? It won't be easy to judge when
"most people" want 3.x rather than 2.x...
Unless we can answer that then maybe it is best left alone, although I
agree it can be a little surprising!