/snap/gh/640/usr/share/perl/5.38.2/pod
Edit: /snap/gh/640/usr/share/perl/5.38.2/pod/perldiag.pod (311377B)
=head1 NAME
perldiag - various Perl diagnostics
=head1 DESCRIPTION
These messages are classified as follows (listed in increasing order of
desperation):
(W) A warning (optional).
(D) A deprecation (enabled by default).
(S) A severe warning (enabled by default).
(F) A fatal error (trappable).
(P) An internal error you should never see (trappable).
(X) A very fatal error (nontrappable).
(A) An alien error message (not generated by Perl).
The majority of messages from the first three classifications above
(W, D & S) can be controlled using the C
pragma.
If a message can be controlled by the C pragma, its warning
category is included with the classification letter in the description
below. E.g. C<(W closed)> means a warning in the C category.
Optional warnings are enabled by using the C pragma or the B<-w>
and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}>
to a reference to a routine that will be called on each warning instead
of printing it. See L.
Severe warnings are always enabled, unless they are explicitly disabled
with the C pragma or the B<-X> switch.
Trappable errors may be trapped using the eval operator. See
L. In almost all cases, warnings may be selectively
disabled or promoted to fatal errors using the C pragma.
See L.
The messages are in alphabetical order, without regard to upper or
lower-case. Some of these messages are generic. Spots that vary are
denoted with a %s or other printf-style escape. These escapes are
ignored by the alphabetical order, as are all characters other than
letters. To look up your message, just ignore anything that is not a
letter.
=over 4
=item accept() on closed socket %s
(W closed) You tried to do an accept on a closed socket. Did you forget
to check the return value of your socket() call? See
L.
=item ADJUST is experimental
(S experimental::class) This warning is emitted if you use the C
keyword of C