in reply to How and where to pass PERL_USE_UNSAFE_INC=1; to Perl while compilation.
Your scripts are buggy, and I'm not talking about the potential security problem. They use the current work directory as a proxy for the script's directory, but that often fails.
Just write a Perl one-liner to add the following to your buggy scripts to fix them:
use FindBin qw( $RealBin ); use lib $RealBin;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How and where to pass PERL_USE_UNSAFE_INC=1; to Perl while compilation.
by Anonymous Monk on Sep 27, 2021 at 06:07 UTC | |
by ikegami (Patriarch) on Sep 28, 2021 at 17:38 UTC | |
by Anonymous Monk on Sep 28, 2021 at 18:13 UTC |
In Section
Seekers of Perl Wisdom