1 package warnings::register;
6 # left here as cruft in case other users were using this undocumented routine
13 vec($mask, $bit, 1) = 1;
22 my $package = (caller(0))[0];
23 warnings::register_categories($package);
25 warnings::register_categories($package . "::$_") for @categories;
34 warnings::register - warnings import function
38 use warnings::register;
42 Creates a warnings category with the same name as the current package.
44 See L<warnings> for more information on this module's usage.