summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-17 08:28:26 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-17 08:28:26 +0000
commita99e4ac224ca891463a7704e48b83906ece3bb7c (patch)
tree0b2e2f5bd9b49d00679a273084c1a24bc8f48e91 /pod
parent24d3c5181312bc6d6fc2f89a6710968ed97b31dc (diff)
downloadperl-a99e4ac224ca891463a7704e48b83906ece3bb7c.tar.gz
propagate failures in DESTROY() as (optional) warnings
p4raw-id: //depot/perl@2245
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 4e09da0930..29ed89796d 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -143,6 +143,18 @@ Perl yourself.
instead of Perl. Check the #! line, or manually feed your script
into Perl yourself.
+=item (in cleanup) %s
+
+(W) This prefix usually indicates that a DESTROY() method raised
+the indicated exception. Since destructors are usually called by
+the system at arbitrary points during execution, and often a vast
+number of times, the warning is issued only once for any number
+of failures that would otherwise result in the same message being
+repeated.
+
+Failure of user callbacks dispatched using the C<G_KEEPERR> flag
+could also result in this warning. See L<perlcall/G_KEEPERR>.
+
=item (Missing semicolon on previous line?)
(S) This is an educated guess made in conjunction with the message "%s