Skip Menu |

This queue is for tickets about the Switch CPAN distribution.

Report information
The Basics
Id: 7131
Status: resolved
Priority: 0/
Queue: Switch

People
Owner: RGARCIA [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Need INSTALLDIRS in Makefile.PL
Switch.pm incorrectly installs in site_perl. The attached patch fixes this. I got the version number 5.00703 as first perl version with Switch in core from the Module::CoreList output. Regards, Slaven
--- Makefile.PL.orig 2004-07-27 12:32:40.000000000 +0200 +++ Makefile.PL 2004-07-27 12:33:43.000000000 +0200 @@ -3,4 +3,5 @@ NAME => q[Switch], VERSION_FROM => q[Switch.pm], PREREQ_PM => { 'Filter::Util::Call' => 0, 'Text::Balanced' => 0 }, + INSTALLDIRS => $] >= 5.00703 ? 'perl' : 'site', );
Fixed in 2.11, thanks.