Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 120227
Status: resolved
Worked: 30 min
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: haarg [...] haarg.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.9164



Subject: set PERL_USE_UNSAFE_INC environment variable when running configure/build/test/install
The PERL_USE_UNSAFE_INC environment variable should be set when running Makefile.PL, Build.PL, and the build, test, and install commands. This will add . to @INC in the subprocesses, allowing them to find files relative to the dist root. Example code: local $ENV{PERL_USE_UNSAFE_INC} = 1 unless exists $ENV{PERL_USE_UNSAFE_INC};
On Mon Feb 13 08:27:49 2017, haarg wrote: Show quoted text
> The PERL_USE_UNSAFE_INC environment variable should be set when > running Makefile.PL, Build.PL, and the build, test, and install > commands. This will add . to @INC in the subprocesses, allowing them > to find files relative to the dist root. > > Example code: > > local $ENV{PERL_USE_UNSAFE_INC} = 1 > unless exists $ENV{PERL_USE_UNSAFE_INC};
This has been done in CPANPLUS::Dist::MM and also in CPANPLUS::Dist::Build