warnings::register(3perl) Perl Programmers Reference Guide warnings::register(3perl)

warnings::register - warnings import function

use warnings::register;

Creates a warnings category with the same name as the current package.

See "Reporting Warnings from a Module" in warnings for more information on this module's usage.

2025-07-13 perl v5.42.0