This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
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)
commit19b29141f68d34f2b832ff2cddd54122e3ed3c28
tree4f1a8f491c37565eda45e77640934758bc944a89
parenta125938c1974610beb011694a8740a593dfd84f9
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