summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/diagnostics.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm
index b51376fb4a..a1910359b4 100755
--- a/lib/diagnostics.pm
+++ b/lib/diagnostics.pm
@@ -28,7 +28,8 @@ Using diagnostics to get stack traces from a misbehaving script:
=head2 The C<diagnostics> Pragma
This module extends the terse diagnostics normally emitted by both the
-perl compiler and the perl interpreter, augmenting them with the more
+perl compiler and the perl interpreter (from running perl with a -w
+switch or C<use warnings>), augmenting them with the more
explicative and endearing descriptions found in L<perldiag>. Like the
other pragmata, it affects the compilation phase of your program rather
than merely the execution phase.