You are viewing the version of this documentation from Perl 5.32.1. View the latest version
${^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).

This variable is read-only.

This variable was added in Perl v5.8.0.