You are viewing the version of this documentation from Perl 5.6.2. View the latest version
$WARNING
$^W

The current value of the warning switch, initially true if -w was used, false otherwise, but directly modifiable. (Mnemonic: related to the -w switch.) See also warnings.