http://qs1969.pair.com?node_id=11137020


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;