On 30 April 2015 at 00:34, Steve Hay <steve.m.hay@googlemail.com> wrote: > But CPAN.pm says this: > > INSTALLDIRS => 'perl', # as it is coming with perl > > and when I update 5.20.2 with the latest CPAN it intalls into lib. > I would consider that to be a bug. Not something one should use as an example to follow. Generally, I agree that: > INSTALLDIRS => ($] >= 5.007003 && $] < 5.011) ? 'perl' : 'site' is the right approach, where minversion = minversion it entered core. Personally, I would like to see EUMM fixed in such a way packages declaring this themselves on perls greater than 5.012 were summarily ignored as being "wrong", but compat and things like that are hard. ( And you'd still have to make that declaration either way to support older EUMMS ) Because there's a lot of things still doing this ( you can't fix old versions of things so if you downgrade to check compatibility, you risk breaking things ), and I've seen things that were *never* core do this. -- Kent *KENTNL* - https://metacpan.org/author/KENTNLThread Previous