From: Rafael Garcia-Suarez Date: Thu, 11 Dec 2003 23:40:54 +0000 (+0000) Subject: Add a mention of the error "DESTROY created new reference X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=500ab966609891c0c4f86a9fb5a8fd04bfa6850e;p=p5sagit%2Fp5-mst-13.2.git Add a mention of the error "DESTROY created new reference to dead object" in perldiag. p4raw-id: //depot/perl@21877 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 2fb8615..a335924 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1285,6 +1285,12 @@ there are neither package declarations nor a C<$VERSION>. long for Perl to handle. You have to be seriously twisted to write code that triggers this error. +=item DESTROY created new reference to dead object '%s' + +(F) A DESTROY() method created a new reference to the object which is +just being DESTROYed. Perl is confused, and prefers to abort rather than +to create a dangling reference. + =item Did not produce a valid header See Server error.