You are viewing the version of this documentation from Perl 5.41.7. This is a development version of Perl.
$WARNING
$^W

The current value of the warning switch, initially true if -w was used, false otherwise, but directly modifiable.

See also warnings.

Mnemonic: related to the -w switch.