On Mon, Jan 21, 2013 at 5:05 PM, Ricardo SIGNES <perlbug-followup@perl.org>wrote: > It used to be that the search order of `@INC` was perl, then site. If you > installed a new version of something from CPAN, it would be installed into > site, by default. That meant that if it was in core, you'd never see the > new > version, because the core code was in the "perl" lib. > > To work around this, libraries found in both core and CPAN overrode their > install location to go into perl lib. This was a lousy situation. Now > it's > over! Perl now looks in site first. > > ...but lots of dual-life libraries have not been updated to install to > site as > usual! They need fixing. > > Libraries that are released primarily on CPAN (i.e., "upstream CPAN" > libraries) > need to have support requests filed against them. Include a patch! For > most > libraries, this means using rt.cpan.org, but don't use it blindly. Do > what the > author wants. Also, check to see that it hasn't already been filed or > resolved > first. > > Libraries that are released primarily via the core perl distribution need > to > have patches sent to the core. Use perlbug or contact > perl5-porters@perl.org > > In most cases, libraries will be using ExtUtils::MakeMaker. They should > end up > with a line something like this: > > INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'), > > They're broken if they currently just say `INSTALLDIRS => 'perl'` > > ## Partial List > > Here are some seemingly broken ones: > > * CPANPLUS > * Compress-Raw-Bzip2 > * Compress-Raw-Zlib > * DB_File > * Devel-PPPort > * Digest-SHA > * Encode > * ExtUtils-CBuilder > * ExtUtils-MakeMaker > * IO > * IO-Compress > * IPC-SysV > * List-Util > * Math-Complex > * Mime-Base64 > * Module-Build > * Module-CoreList > * Module-Plugable > * Storable > * Time-HiRes > * Time-Piece > * Unicode-Collate > * Unicode-Normalize > * Win32 > * Win32API-File > * lib > cpan-grep shows 39 distributions still having this issues[1]. A few of them are false positives, and some others are non-core dists that never should have installed to 'perl' in the first place. Leon 1: http://grep.cpan.me/?q=INSTALLDIRS\s*%3D%3E\s*[%27%22]perl%20file%3A<http://grep.cpan.me/?q=INSTALLDIRS%5Cs*%3D%3E%5Cs*[%27%22]perl%20file%3A> ^Makefile.PL%24&page=2Thread Previous | Thread Next