Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 56992
Status: resolved
Priority: 0/
Queue: version

People
Owner: Nobody in particular
Requestors: TODDR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.82
Fixed in: (no value)



Subject: version should install to site_lib for perl >= 5.12
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/mailing-lists/perl5-porters/2010-04/msg01353.html Patch attached for the fix.
Subject: patch.txt
diff --git a/Makefile.PL b/Makefile.PL old mode 100644 new mode 100755 index f9b05be..6d9c942 --- a/Makefile.PL +++ b/Makefile.PL @@ -46,7 +46,7 @@ sub write_makefile AUTHOR => 'John Peacock <jpeacock@cpan.org>') : () ), - ( $] >= 5.009001 ? + ( $] >= 5.009001 && $] < 5.012000 ? ( INSTALLDIRS => 'perl' ) : () ),
Fixed in 56993