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',
);