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

Testing with taint

Thread Next
August 11, 2001 14:58
Testing with taint
Message ID:
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

Just FYI.

Michael G Schwern   <>
Perl6 Quality Assurance     <>       Kwalitee Is Job One

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About