develooper Front page | perl.perl5.porters | Postings from February 2017

[perl #130467] Default perl builds to not include . in @INC(default_inc_excludes_dot)

Thread Previous | Thread Next
From:
Todd Rinaldo via RT
Date:
February 17, 2017 01:24
Subject:
[perl #130467] Default perl builds to not include . in @INC(default_inc_excludes_dot)
Message ID:
rt-4.0.24-12937-1487294657-303.130467-15-0@perl.org
On Wed, 15 Feb 2017 16:09:31 -0800, LeonT wrote:
>
> > Given we're talking about ~3,700 dists on CPAN that would need to
> > be patched and re-released, I have no expectation this is ever going
> > to be fully solved. I could see some day deciding that the remaining
> > 500 modules are unused or sufficiently broken that breaking their
> > installer isn't the end of the world at which point we could take it
> > out.
> 
> It affects a lot of distributions, but fairly few users (installing
> manually is already a painful experience in all but the simplest
> cases).

If I can get consensus, I'm totally cool with actioning this case (flipping default installs to not include . in @INC by default) on top of a merge of the CPAN.pm and Test::Harness changes already released to CPAN. 

Leon, it sounds like this is what you're suggesting? 

We could then submit patches to the ~3700 modules just as a courtesy. 

As for the shim on CPAN, I don't see that it would make sense, since anyone who needs this simply needs to bootstrap Module::Install to work around it.

Todd


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=130467

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About