perldiag: -D message is a warning
authorFather Chrysostomos <sprout@cpan.org>
Fri, 30 Nov 2012 17:54:08 +0000 (09:54 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Dec 2012 05:31:41 +0000 (21:31 -0800)
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

index 347a749..2a0e838 100644 (file)
@@ -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.