Skip Menu |

This queue is for tickets about the Module-Pluggable CPAN distribution.

Report information
The Basics
Id: 78953
Status: resolved
Priority: 0/
Queue: Module-Pluggable

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

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



Subject: [PATCH] Does not install correctly on "older" Perls
The following "rule" needs to be incorporated in this module's Build.PL file: installdirs => ((($] >= 5.008009) || ($] < 5.011)) ? 'core' : 'site'), Without it, the newly installed module will be "masked" by the older version of the code. Patch attached.
Subject: fix.patch
--- Module-Pluggable-4.1/Build.PL-orig 2012-08-14 08:57:08.261495700 -0400 +++ Module-Pluggable-4.1/Build.PL 2012-08-14 08:58:52.495870700 -0400 @@ -43,6 +43,7 @@ 'Test::More' => '0.62', }, create_makefile_pl => 'small', + installdirs => ((($] >= 5.008009) || ($] < 5.011)) ? 'core' : 'site'), ); $build->add_to_cleanup(@files);
Doh! Fixed and released as 4.2