in reply to Test::Taint 0.01 is out

I can also think of other situations where local paranoia sets in and one might want to taint data, for example when reading in data from a file or from an email, and it (possibly) hasn't been scrubbed correctly. In such situations, placing a taint() call in the read routine can be interesting.

How does your module manage the Too late for -T at ... error? Must the make test command be run special or must the Makefile be hacked to enable tainting?

Replies are listed 'Best First'.
Re: Re: Test::Taint 0.01 is out
by ysth (Canon) on Feb 04, 2004 at 08:59 UTC
    Test::Harness looks for -T or -t on the shebang line of a test file, and starts perl with it.
      More precisely, Test::Harness::Straps does, so it's overridable.

      You can also use -T or -t parms to prove to turn on taint checking.

      xoxo,
      Andy