I have the following code:
use strict; use warnings; use FindBin 1.51 qw( $RealBin ); use lib "$RealBin/../lib"; use MyLib;
when I run it with Perl 5.28.1 as perl -T ./bin/perl-taint.pl I get the following error:
Insecure dependency in require while running with -T switch at ./bin/p +erl-taint.pl line 7. BEGIN failed--compilation aborted at ./bin/perl-taint.pl line 7.
FindBin operates in BEGIN section, so how - if possible - can I untaint the path?
In reply to FindBin and Tainted by mikkoi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |