That way it will override the Safe distributed with the core
without actually overwriting it, thanks to the @INC reordering.
WriteMakefile(
NAME => 'Safe',
VERSION_FROM => 'Safe.pm',
- INSTALLDIRS => 'perl',
+ INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'),
($core || $] >= 5.011) ? () : (INST_LIB => '$(INST_ARCHLIB)'),
);