develooper Front page | perl.perl5.porters | Postings from August 2001

Re: Testing with taint

Thread Previous | Thread Next
From:
Kurt D. Starsinic
Date:
August 12, 2001 10:02
Subject:
Re: Testing with taint
Message ID:
20010812100156.A12567@wolfetech.com
On Sat, Aug 11, 2001 at 05:58:44PM -0400, schwern@pobox.com wrote:
> In tearing apart Test::Harness today, I stumbled onto a little known
> feature.  The ability to run tests with taint mode on.  Test::Harness
> will look for "#!/usr/bin/perl -T" at the top of your test and run the
> tests with taint mode on.  (Until recently, an undocumented feature).
> 
> Alternatively, there's $Test::Harness::switches = '-T' or setting
> HARNESS_PERL_SWITCHES = '-T'
> 
> Just FYI.

    Great detective work.  Why would one want this?

    - Kurt


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About