From: Simon Cozens Date: Sat, 10 Feb 2001 17:57:02 +0000 (+0000) Subject: [ID 20010210.002] perldiag doesn't include the "Scalars leaked" message X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e3dfe6313b77d89451f9294078553326f6264aa1;p=p5sagit%2Fp5-mst-13.2.git [ID 20010210.002] perldiag doesn't include the "Scalars leaked" message Message-Id: Now it does include. p4raw-id: //depot/perl@8796 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index c142367..cd91df7 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2929,6 +2929,13 @@ as a list, you need to look into how references work, because Perl will not magically convert between scalars and lists for you. See L. +=item Scalars leaked: %d + +(P) Something went wrong in Perl's internal bookkeeping of scalars: +not all scalar variables were deallocated by the time Perl exited. +What this usually indicates is a memory leak, which is of course bad, +especially if the Perl program is intended to be long-running. + =item Script is not setuid/setgid in suidperl (F) Oddly, the suidperl program was invoked on a script without a setuid