---
name: "perllexwarn"
section: "1perl"
platform: "linux"
package: "perl"
version: "5.44.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/perllexwarn/1perl"
---

# perllexwarn(1perl)

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.
