Subject: | Should not install to archlib on >5.12 |
Given how the @INC order changed in >=5.11, the behaviour of clobbering archlib's files is no longer necessary, as installing to sitelib now automatically shadows.
And an unfortunate consequence of installing to archlib, means that if you're foolish and accidentally install from CPAN, you'll possibly find yourself installing an *OLDER* version of PathTools, and having it clobber your PathTools from Perl, with no way to "undo" that accident short of reinstalling perl from scratch.
Carp does the right thing: https://metacpan.org/source/ZEFRAM/Carp-1.32/Makefile.PL#L18
INSTALLDIRS => "$]" < 5.011 ? "perl" : "site",
So this is merely a request that PathTools follows that example and installs to sitelib where relevant.