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

Re: pop @INC (".")

Thread Previous | Thread Next
Paul Johnson
March 9, 2012 04:25
Re: pop @INC (".")
Message ID:
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 -

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About