```{index} single: warnings::register (pragma) ``` # warnings::register warnings import function ## SYNOPSIS ```perl use warnings::register; ``` ## DESCRIPTION Creates a warnings category with the same name as the current package. See ["Reporting Warnings from a Module" in warnings](../warnings.md) for more information on this module's usage.