Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove PERL_USE_UNSAFE_INC from Perl Environment #8822
The environment variable
I've written a bit more about this here: https://perlmaven.com/removal-of-the-current-directory-from-inc-and-travis
IMHO PERL_USE_UNSAFE_INC should not be set by Travis.
5.24 build does include
Thanks for checking it. I've just checked again myself. Apparently what turns on that environment variable is "make test" and not Travis.
It took me a while to understand how the ENV setting in .travis.yml could override this, but apparently "make test" or more specifically Test::Harness will only set this ENV var if it does not exist.
So it is not something Travis can or should fix. Sorry for the false issue.