summaryrefslogtreecommitdiff
path: root/lib/diagnostics.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-12-13 12:21:26 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-12-13 12:21:26 +0000
commitc7bcd97d6f3cca0cdeda5b0e9eabe2b3fcca0c57 (patch)
tree759d7becb70c1160ad6142b65ccb8dc8ccc384b6 /lib/diagnostics.pm
parent99a6169dfdb8b2356f889b4575ec1f2642a7f5fa (diff)
downloadperl-c7bcd97d6f3cca0cdeda5b0e9eabe2b3fcca0c57.tar.gz
Fix some of the pods to produce more standard manpages,
as reported by Eric S. Raymond. p4raw-id: //depot/perl@21885
Diffstat (limited to 'lib/diagnostics.pm')
-rwxr-xr-xlib/diagnostics.pm9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm
index 0d1a7e2e6e..2b75113631 100755
--- a/lib/diagnostics.pm
+++ b/lib/diagnostics.pm
@@ -2,13 +2,11 @@ package diagnostics;
=head1 NAME
-diagnostics - Perl compiler pragma to force verbose warning diagnostics
-
-splain - filter to produce verbose descriptions of perl warning diagnostics
+diagnostics, splain - produce verbose warning diagnostics
=head1 SYNOPSIS
-As a pragma:
+Using the C<diagnostics> pragma:
use diagnostics;
use diagnostics -verbose;
@@ -16,12 +14,11 @@ As a pragma:
enable diagnostics;
disable diagnostics;
-As a program:
+Using the C<splain> standalone filter program:
perl program 2>diag.out
splain [-v] [-p] diag.out
-
=head1 DESCRIPTION
=head2 The C<diagnostics> Pragma