diff --git a/Makefile.PL b/Makefile.PL index 8557d67..3a7e681 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,7 +7,7 @@ WriteMakefile1( VERSION_FROM => "lib/Text/ParseWords.pm", ABSTRACT_FROM => 'lib/Text/ParseWords.pm', AUTHOR => 'Alexandr Ciornii ', - INSTALLDIRS => 'perl', + INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'), 'LICENSE' => 'perl', 'MIN_PERL_VERSION' => 5.006, PREREQ_PM => {