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

Re: Testing with taint

Thread Previous | Thread Next
Kurt D. Starsinic
August 12, 2001 10:02
Re: Testing with taint
Message ID:
On Sat, Aug 11, 2001 at 05:58:44PM -0400, 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
> Just FYI.

    Great detective work.  Why would one want this?

    - Kurt

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