summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/pods/perllexwarn.pod
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl/lib/pods/perllexwarn.pod')
-rw-r--r--Master/tlpkg/tlperl/lib/pods/perllexwarn.pod18
1 files changed, 17 insertions, 1 deletions
diff --git a/Master/tlpkg/tlperl/lib/pods/perllexwarn.pod b/Master/tlpkg/tlperl/lib/pods/perllexwarn.pod
index 835914e4869..accbfdf7923 100644
--- a/Master/tlpkg/tlperl/lib/pods/perllexwarn.pod
+++ b/Master/tlpkg/tlperl/lib/pods/perllexwarn.pod
@@ -304,7 +304,13 @@ The current hierarchy is:
|
+- untie
|
- +- utf8
+ +- utf8----------+
+ | |
+ | +- surrogate
+ | |
+ | +- non_unicode
+ | |
+ | +- nonchar
|
+- void
@@ -520,6 +526,16 @@ a warning.
Notice also that the warning is reported at the line where the object is first
used.
+When registering new categories of warning, you can supply more names to
+warnings::register like this:
+
+ package MyModule;
+ use warnings::register qw(format precision);
+
+ ...
+
+ warnings::warnif('MyModule::format', '...');
+
=head1 SEE ALSO
L<warnings>, L<perldiag>.