Hello,
On Thu Jul 26 10:21:58 2012, RJBS wrote:
Show quoted text> perl 5.12.0 reordered @INC sensibly so that site comes first.
> Installing from CPAN should install
> to site.
I attached a patch that does this. However, it sets INSTALLDIRS to
'perl' only if it is 5.7 or above (the existing check) or if it is below
5.11, as noted on
https://github.com/rjbs/perltodo/blob/master/Supply-Patches-to-Fix-Install-Location.mkdn
The relevant perldelta entry for 5.11 seems to be
https://metacpan.org/module/JESSE/perl-5.11.0/pod/perl5110delta.pod#INC-reorganization
regards,
Robert Sedlacek
--- Makefile.PL.orig 2012-09-23 00:30:02.955378824 +0200
+++ Makefile.PL 2012-09-23 00:30:35.907542233 +0200
@@ -14,7 +14,7 @@
# We now ship this in t/
# PREREQ_PM => { 'Test::More' => '0.41' },
PREREQ_PM => { XSLoader => 0 },
- INSTALLDIRS => $] >= 5.007 ? 'perl' : 'site',
+ INSTALLDIRS => ($] >= 5.007 and $] < 5.011) ? 'perl' : 'site',
VERSION_FROM => 'Storable.pm',
($ExtUtils::MakeMaker::VERSION > 6.45 ?
(META_MERGE => { resources =>