From 19b29141f68d34f2b832ff2cddd54122e3ed3c28 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Fri, 30 Nov 2012 09:54:08 -0800 Subject: [PATCH] perldiag: -D message is a warning Under non-debugging builds, I get this: $ perl -D -e 'print "ok\n"' Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?) ok It is a default warning (S), not a fatal error (F). --- pod/perldiag.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 347a749..2a0e838 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4143,7 +4143,7 @@ already been freed. =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch -(F debugging) You can't use the B<-D> option unless the code to produce +(S debugging) You can't use the B<-D> option unless the code to produce the desired output is compiled into Perl, which entails some overhead, which is why it's currently left out of your copy. -- 2.7.4