develooper Front page | perl.perl5.porters | Postings from March 2012

Re: pop @INC (".")

Thread Previous | Thread Next
From:
Paul Johnson
Date:
March 9, 2012 04:25
Subject:
Re: pop @INC (".")
Message ID:
20120309122545.GF12334@pjcj.net
On Thu, Mar 08, 2012 at 01:38:53PM -0600, Todd Rinaldo wrote:
> We're planning on patching "." out of the @INC path for the perl we're
> about to build and distribute.

This has turned into quite a long thread, but I've seen very little
discussion of the rationale for this proposal.

Yes, it's analogous to having "." in $PATH, and perhaps it's obvious to
others, but I'd quite like to see some code showing why having "." in
@INC is undesirable / unwise / dangerous / a security problem.

Has the presence of "." in @INC caused problems, or is this a
theoretical concern?

-- 
Paul Johnson - paul@pjcj.net
http://www.pjcj.net

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