http://qs321.pair.com?node_id=605251


in reply to Checking to see if Taint mode is enabled

${^TAINT}

Reflects if taint mode is on or off. 1 for on (the program was run with -T), 0 for off, -1 when only taint warnings are enabled (i.e. with -t or -TU).

In Perl 5.8.