Hi all,

I'm very confused on how to use taint for my cgi scripts.

This code:

#!/usr/local/bin/perl -wT

use strict;
use CGI;

my $q = new CGI;

print ("hi");

exit;


produces this:

"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1."

Ummm ... I'm quite confused about this, since this code above chokes on line
one. :( BTW: I get the same error on my local Windows machine and my remote
Linux server.

I've looked in the Camel and other books, and I'm still stumped on how to
get past this.

Anyone know what I'm don't wrong or where I could read up on it? Heck, even
what I should be looking for in perldoc would be welcome.

Thanks,
--Mark.



Reply via email to