Re: deprecating Switch.pm
by Andreas J. Koenig other posts by this author
Feb 28 2009 11:56AM messages near this date
Re: deprecating Switch.pm
|
Re: deprecating Switch.pm
> >>>> On Mon, 23 Feb 2009 10:46:29 +0000, Nicholas Clark <nick@[...].org> said:
> Anyway, help wanted. Does anyone want to do any of:
> 6: Propose a patch for CPAN.pm
I have a partial solution[0] but there is an obstacle. Here's the
Makefile.PL of the CPAN version of Switch-1.14:
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => q[Switch],
VERSION_FROM => q[Switch.pm],
PREREQ_PM => { 'Filter::Util::Call' => 0, 'Text::Balanced' => 0 },
INSTALLDIRS => $] >= 5.00703 ? 'perl' : 'site',
);
For all modules that set INSTALLDIRS to 'perl' the installation simply
overwrites the already installed Switch.pm or even refrains from doing
it when the files are really identical. In such a case installing from
CPAN with MakeMAker does not resolve the situation.
Are you intending to demand that these distros be changed to always
specify "site"?
--
andreas
[0] git://github.com/andk/cpanpm.git commit 22a8f07
Thread:
Nicholas Clark
Dave Mitchell
Charles Bailey
Nicholas Clark
Steffen Mueller
Sue Spence
Steffen Mueller
Andreas J. Koenig
Rafael Garcia-Suarez
Michael G Schwern
Nicholas Clark
Michael G Schwern
Nicholas Clark
Aristotle Pagaltzis
Zefram
Nicholas Clark
Michael G Schwern
Bram
Michael G Schwern
Aristotle Pagaltzis
Michael G Schwern
Robin Barker
Nicholas Clark
Renee Baecker
Robin Barker
Abigail
Nicholas Clark
Bram
Renee Baecker
Nicholas Clark
|