warnings::register(3perl) Perl Programmers Reference Guide NAME warnings::register - warnings import function SYNOPSIS use warnings::register; DESCRIPTION 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. perl v5.42.2 2026-08-11 warnings::register(3perl)