develooper Front page | perl.perl5.porters | Postings from September 2021

PERL_USE_UNSAFE_INC

Thread Next
From:
sisyphus
Date:
September 25, 2021 03:54
Subject:
PERL_USE_UNSAFE_INC
Message ID:
CADZSBj3RY8pTZUvqxbTBAn6hKSenhx4LGx4SmnR8y8+OzBsg+w@mail.gmail.com
Hi,

The perlrun documentation for PERL_USE_UNSAFE_INC begins with:

<quote>
If perl has been configured to not have the current directory in @INC by
default, ....
</quote>

To me, this implies that it is possible to configure perl such that @INC
*does* include the current directory.

Is such a thing possible ?
If so, how ?

With perl-5.35.4 on Ubuntu, I tried adding -DPERL_USE_UNSAFE_INC=1 to the
configure args, but this still resulted in an @INC that did not contain ".".

Cheers,
Rob

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