diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-02-02 16:47:50 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-02-02 16:47:50 +0000 |
commit | ae2c041d65d6642c793feaa98698e06641f3bda8 (patch) | |
tree | 6ed13be2dd838a7871876ee761e2111e433987f1 /lib/diagnostics.pm | |
parent | d23a249d61f0f752a39ac1cc8220679c782f6873 (diff) | |
download | perl-ae2c041d65d6642c793feaa98698e06641f3bda8.tar.gz |
Still doc fixes.
p4raw-id: //depot/cfgperl@2789
Diffstat (limited to 'lib/diagnostics.pm')
-rwxr-xr-x | lib/diagnostics.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm index 648ea1281b..1f3f30c1c0 100755 --- a/lib/diagnostics.pm +++ b/lib/diagnostics.pm @@ -4,7 +4,7 @@ package diagnostics; diagnostics - Perl compiler pragma to force verbose warning diagnostics -splain - stand-alone program to do the same thing +splain - standalone program to do the same thing =head1 SYNOPSIS @@ -41,9 +41,9 @@ that this I<does> enable perl's B<-w> flag.) Your whole compilation will then be subject(ed :-) to the enhanced diagnostics. These still go out B<STDERR>. -Due to the interaction between runtime and compile time issues, +Due to the interaction between runtime and compiletime issues, and because it's probably not a very good idea anyway, -you may not use C<no diagnostics> to turn them off at compile time. +you may not use C<no diagnostics> to turn them off at compiletime. However, you may control there behaviour at runtime using the disable() and enable() methods to turn them off and on respectively. @@ -66,7 +66,7 @@ Output from I<splain> is directed to B<STDOUT>, unlike the pragma. =head1 EXAMPLES The following file is certain to trigger a few errors at both -runtime and compile time: +runtime and compiletime: use diagnostics; print NOWHERE "nothing\n"; @@ -526,7 +526,7 @@ sub shorten { } -# have to do this: RS isn't set until run time, but we're executing at compile time +# have to do this: RS isn't set until run time, but we're executing at compiletime $RS = "\n"; 1 unless $standalone; # or it'll complain about itself |