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

Re: pop @INC (".")

Thread Previous
From:
Offer Kaye
Date:
March 8, 2012 12:10
Subject:
Re: pop @INC (".")
Message ID:
CACQn385GU6fSRS4sA-S6ue8pm=CsWE2VLfGqPs6jJVvkwmu2EQ@mail.gmail.com
On Thu, Mar 8, 2012 at 9:38 PM, Todd Rinaldo wrote:
> We're planning on patching "." out of the @INC path for the perl we're about to build and distribute. I'm finding this change causes the test suite to blow up in all sorts of interesting ways.
>
> My Question: Would you consider it a bug that items in the perl test suite assume that "." is in the @INC path?
>
> Thanks,
> Todd
>

Since the docs (perlvar) explicitly states that '.' is part of @INC
except under taint checks (-T or -t), why would depending on '.' be a
bug? Unless you're saying the items in the test suite are running
under taint?

Regards,
Offer Kaye

Thread Previous


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