summaryrefslogtreecommitdiff
path: root/lib/warnings.pm
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-09-10 20:09:27 +0200
committerFlorian Ragwitz <rafl@debian.org>2010-09-10 20:09:27 +0200
commit1378181044ae371d10218f7cd4456d83c4cb3f50 (patch)
treefc47b385d21eb62926177db56ee666608a245fe9 /lib/warnings.pm
parentc927b67657643fae661071a5ac37bb1502732181 (diff)
downloadperl-1378181044ae371d10218f7cd4456d83c4cb3f50.tar.gz
Update warnings.pl with the ::register changes
Also regenerate lib/warnings.pm from that.
Diffstat (limited to 'lib/warnings.pm')
-rw-r--r--lib/warnings.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/warnings.pm b/lib/warnings.pm
index e01027e614..31cd1e1daf 100644
--- a/lib/warnings.pm
+++ b/lib/warnings.pm
@@ -153,7 +153,6 @@ Equivalent to:
if (warnings::enabled($object))
{ warnings::warn($object, $message) }
-
=item warnings::register(@names)
This registers warning categories for the given names and is primarily for
@@ -526,7 +525,7 @@ sub register
sub _error_loc {
require Carp;
goto &Carp::short_error_loc; # don't introduce another stack frame
-}
+}
sub enabled
{