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

Testing with taint

Thread Next
From:
schwern
Date:
August 11, 2001 14:58
Subject:
Testing with taint
Message ID:
20010811175844.D15925@magnonel.guild.net
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.


-- 
Michael G Schwern   <schwern@pobox.com>   http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>       Kwalitee Is Job One

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