From 1f337eebd3a4af123a22e8867ad97435d04e1c23 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Thu, 4 Sep 2014 13:11:24 +0200
Subject: [PATCH] install to site for newer perls (5.11.0+)

This should fix https://rt.cpan.org/Ticket/Display.html?id=50729
---
 Makefile.PL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.PL b/Makefile.PL
index 12dd3d2..6bb3033 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,7 +6,7 @@ my $EUMM_VERSION = eval $ExtUtils::MakeMaker::VERSION;
 WriteMakefile(
   NAME           => 'Shell',
   VERSION_FROM   => 'Shell.pm',
-  INSTALLDIRS    => 'perl',
+  INSTALLDIRS    => ($] >= 5.011 ? 'site' : 'perl'),
   PREREQ_PM      => {
     'Test::More' => 0,
   },
-- 
1.8.3.4