summaryrefslogtreecommitdiff
path: root/lib/warnings.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warnings.pm')
-rw-r--r--lib/warnings.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/warnings.pm b/lib/warnings.pm
index 7f7e175a51..78ac4a9739 100644
--- a/lib/warnings.pm
+++ b/lib/warnings.pm
@@ -129,6 +129,9 @@ See L<perlmodlib/Pragmatic Modules> and L<perllexwarn>.
use Carp ;
%Offsets = (
+
+ # Warnings Categories added in Perl 5.008
+
'all' => 0,
'closure' => 2,
'deprecated' => 4,
@@ -419,4 +422,5 @@ sub warnif
carp($message) ;
}
+
1;