| Current File : //usr/tmp/par-6c6566/cache-9ab9fe47781b3f807c8b3ee838b58c73318324f4/inc/lib/warnings/register.pm |
#line 1 "warnings/register.pm"
package warnings::register;
our $VERSION = '1.03';
#line 22
require warnings;
# left here as cruft in case other users were using this undocumented routine
# -- rjbs, 2010-09-08
sub mkMask
{
my ($bit) = @_;
my $mask = "";
vec($mask, $bit, 1) = 1;
return $mask;
}
sub import
{
shift;
my @categories = @_;
my $package = (caller(0))[0];
warnings::register_categories($package);
warnings::register_categories($package . "::$_") for @categories;
}
1;