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.