in reply to Taint check tripped since perl 5.10

Since I dont change @INC in my handler and the eval() doesnt contain any use(), require() or do(), I dont understand whats wrong here
Then find out who/what changed @INC, because its tainted.
use Scalar::Util(); printf "T(%d)(%s)\n",Scalar::Util::tainted($_),$_ for @INC;

Replies are listed 'Best First'.
Re^2: Taint check tripped since perl 5.10
by Anonymous Monk on Feb 27, 2009 at 09:35 UTC

    I tried that and Scalar::Util::tainted returns 0 for all members of @INC.

    Is there a possibility to get the warning (Insecure dependency in require while running with -t switch) without @INC being tainted?

      You also get that error if the value passed to require is tainted.