NAME

warning - Perl pragma to control

SYNOPSIS

use warning;

use warning "all";
use warning "deprecated";

use warning;
no warning "unsafe";

DESCRIPTION

If no import list is supplied, all possible restrictions are assumed. (This is the safest mode to operate in, but is sometimes too strict for casual programming.) Currently, there are three possible things to be strict about:

warning deprecated

This generates a runtime error if you use deprecated

use warning 'deprecated';

See "Pragmatic Modules" in perlmod.