summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2017-03-13 09:12:34 +0000
committerDavid Mitchell <davem@iabyn.com>2017-03-13 09:12:34 +0000
commitb4986286562ec1c1e1c413aebf4773624cbd0009 (patch)
tree1eae1b16a334169fd7b5a5353c592171998ee051
parent458ea8f78a2917d05a5d5ff7877f279f6403eb67 (diff)
downloadperl-b4986286562ec1c1e1c413aebf4773624cbd0009.tar.gz
perlhacktips.pod: clarify -DDEBUG_LEAKING_SCALARS
distinguish between the cc -D option and the Configure -D option. Suggested by KES in http://nntp.perl.org/group/perl.perl5.porters/243481
-rw-r--r--pod/perlhacktips.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlhacktips.pod b/pod/perlhacktips.pod
index e12e81c784..45d42f6ce5 100644
--- a/pod/perlhacktips.pod
+++ b/pod/perlhacktips.pod
@@ -1429,7 +1429,8 @@ documentation for more information. Also, spawned threads do the
equivalent of setting this variable to the value 1.)
If, at the end of a run you get the message I<N scalars leaked>, you
-can recompile with C<-DDEBUG_LEAKING_SCALARS>, which will cause the
+can recompile with C<-DDEBUG_LEAKING_SCALARS>,
+(C<Configure -Accflags=-DDEBUG_LEAKING_SCALARS>), which will cause the
addresses of all those leaked SVs to be dumped along with details as to
where each SV was originally allocated. This information is also
displayed by Devel::Peek. Note that the extra details recorded with