From: David Golden Date: Thu, 22 Oct 2009 03:25:49 +0000 (-0400) Subject: Install Switch from CPAn into 'site', not 'perl' X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ac9fc527315f1c14bccf21fd437798e4f7517514;p=p5sagit%2Fp5-mst-13.2.git Install Switch from CPAn into 'site', not 'perl' --- diff --git a/dist/Switch/Changes b/dist/Switch/Changes index 5db4743..ac05ac5 100644 --- a/dist/Switch/Changes +++ b/dist/Switch/Changes @@ -115,3 +115,7 @@ Revision history for Perl extension Switch. 2.15 Tue Oct 20 2009 - Deprecate shipping Switch.pm in the core distribution. (Nicholas Clark) + +2.16 (in progress) + - For Perl 5.11+, install into 'site', not 'perl' + diff --git a/dist/Switch/Makefile.PL b/dist/Switch/Makefile.PL index b977be2..8d280f1 100644 --- a/dist/Switch/Makefile.PL +++ b/dist/Switch/Makefile.PL @@ -3,5 +3,5 @@ WriteMakefile( NAME => q[Switch], VERSION_FROM => q[Switch.pm], PREREQ_PM => { 'Filter::Util::Call' => 0, 'Text::Balanced' => 0 }, - INSTALLDIRS => $] >= 5.00703 ? 'perl' : 'site', + INSTALLDIRS => ($] >= 5.00703 && $] < 5.011) ? 'perl' : 'site', ); diff --git a/dist/Switch/Switch.pm b/dist/Switch/Switch.pm index b9be6e7..2189ae0 100644 --- a/dist/Switch/Switch.pm +++ b/dist/Switch/Switch.pm @@ -6,7 +6,7 @@ use Carp; use if $] >= 5.011, 'deprecate'; -$VERSION = '2.15'; +$VERSION = '2.16'; # LOAD FILTERING MODULE...