---
name: "perllexwarn"
section: "1"
platform: "linux"
package: "perl-doc"
version: "5.40.1-6+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux", "openbsd"]
url: "https://new.carta.tech/perllexwarn"
---

# perllexwarn(1)

Perl Lexical Warnings

## NAME

perllexwarn - Perl Lexical Warnings

## DESCRIPTION

Perl v5.6.0 introduced lexical control over the handling of warnings by category.  The `"warnings"` pragma generally replaces the command line flag **-w**.  Documentation on the use of lexical warnings, once partly found in this document, is now found in the warnings documentation.
