diff options
author | brian d foy <bdfoy@cpan.org> | 2010-01-13 17:19:25 +0100 |
---|---|---|
committer | brian d foy <bdfoy@cpan.org> | 2010-01-13 17:19:25 +0100 |
commit | ac0367249e563330db9a9a04f778eae30defbab0 (patch) | |
tree | 7f99b67d93a06be0fb7aa702db8dfd4e24ff501d /pod/perllexwarn.pod | |
parent | 8d2e243f5816f9d2c4247f962523e4220e4a9ce8 (diff) | |
download | perl-ac0367249e563330db9a9a04f778eae30defbab0.tar.gz |
* Em dash cleanup in pod/
I looked at all the instances of spaces around -- and in most cases
converted the sentences to use more appropriate punctuation. In
general, the -- in the perl docs seem to be there only to make
really complicated and really long sentences.
I didn't look at the closed em-dashes. They probably have the same
sentence-complexity problem.
I left some open em-dashes in place. Those are the ones used in
lists.
Diffstat (limited to 'pod/perllexwarn.pod')
-rw-r--r-- | pod/perllexwarn.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perllexwarn.pod b/pod/perllexwarn.pod index 45a7f5ffba..835914e486 100644 --- a/pod/perllexwarn.pod +++ b/pod/perllexwarn.pod @@ -91,7 +91,7 @@ a block of code. You might expect this to be enough to do the trick: } When this code is run with the B<-w> flag, a warning will be produced -for the C<$a> line -- C<"Reversed += operator">. +for the C<$a> line: C<"Reversed += operator">. The problem is that Perl has both compile-time and run-time warnings. To disable compile-time warnings you need to rewrite the code like this: @@ -177,7 +177,7 @@ will work unchanged. =item 2. -The B<-w> flag just sets the global C<$^W> variable as in 5.005 -- this +The B<-w> flag just sets the global C<$^W> variable as in 5.005. This means that any legacy code that currently relies on manipulating C<$^W> to control warning behavior will still work as is. |