Subject: | INSTALLDIRS should be site when > perl 5.11 |
Date: | Fri, 23 Nov 2012 23:22:36 +0900 |
To: | bug-pod-simple [...] rt.cpan.org |
From: | tzccinct <tzccinct [...] gmail.com> |
Hi,
Accoring to "Bug #57201 for CPANPLUS: installdirs should be site when >
perl 5.11"
https://rt.cpan.org/Public/Bug/Display.html?id=57201
Show quoted text
> As of 5.12, site_lib comes before the perl core libraries in @INC.
> All dual life modules should install to site_lib if installed from CPAN.
> Link to p5p thread on this topic.
> http://www.xray.mpe.mpg.de/mai ling-lists/perl5-porters/2010-
04/msg01353.html
So you should change Makefile.pl of Pod::Simple as below:
- INSTALLDIRS => $] >= 5.009003 ? 'perl' : 'site',
+ INSTALLDIRS => ( $] >= 5.009003 && $] <= 5.011000 ? 'perl' : 'site' ),
Best regards,
tzccinct <tzccinct@gmail.com>