diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-05 22:27:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-05 22:27:26 +0000 |
commit | b56b320b5e2515160073fa1b469514002688fe11 (patch) | |
tree | 965a7100c5e45fca8ec803d22b8b6ce14fca4633 /Master/tlpkg/tlperl/lib/warnings | |
parent | d26c206452d2e285c3bbf949f34011e4a55fd8f9 (diff) |
tlperl 5.22.1 from siep
git-svn-id: svn://tug.org/texlive/trunk@40252 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlperl/lib/warnings')
-rw-r--r-- | Master/tlpkg/tlperl/lib/warnings/register.pm | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/Master/tlpkg/tlperl/lib/warnings/register.pm b/Master/tlpkg/tlperl/lib/warnings/register.pm index 62a3dbfce08..0adf104af7e 100644 --- a/Master/tlpkg/tlperl/lib/warnings/register.pm +++ b/Master/tlpkg/tlperl/lib/warnings/register.pm @@ -1,25 +1,6 @@ package warnings::register; -our $VERSION = '1.03'; - -=pod - -=head1 NAME - -warnings::register - warnings import function - -=head1 SYNOPSIS - - use warnings::register; - -=head1 DESCRIPTION - -Creates a warnings category with the same name as the current package. - -See L<warnings> for more information on this module's usage. - -=cut - +our $VERSION = '1.04'; require warnings; # left here as cruft in case other users were using this undocumented routine @@ -43,5 +24,23 @@ sub import warnings::register_categories($package . "::$_") for @categories; } - 1; +__END__ + +=pod + +=head1 NAME + +warnings::register - warnings import function + +=head1 SYNOPSIS + + use warnings::register; + +=head1 DESCRIPTION + +Creates a warnings category with the same name as the current package. + +See L<warnings> for more information on this module's usage. + +=cut |