summaryrefslogtreecommitdiff
path: root/pod/perl5004delta.pod
diff options
context:
space:
mode:
authorbrian d foy <bdfoy@cpan.org>2010-01-13 17:19:25 +0100
committerbrian d foy <bdfoy@cpan.org>2010-01-13 17:19:25 +0100
commitac0367249e563330db9a9a04f778eae30defbab0 (patch)
tree7f99b67d93a06be0fb7aa702db8dfd4e24ff501d /pod/perl5004delta.pod
parent8d2e243f5816f9d2c4247f962523e4220e4a9ce8 (diff)
downloadperl-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/perl5004delta.pod')
-rw-r--r--pod/perl5004delta.pod10
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perl5004delta.pod b/pod/perl5004delta.pod
index 572c2b5a6f..c83f3e6afd 100644
--- a/pod/perl5004delta.pod
+++ b/pod/perl5004delta.pod
@@ -195,8 +195,8 @@ A bug in previous versions may have failed to detect some insecure
conditions when taint checks are turned on. (Taint checks are used
in setuid or setgid scripts, or when explicitly turned on with the
C<-T> invocation option.) Although it's unlikely, this may cause a
-previously-working script to now fail -- which should be construed
-as a blessing, since that indicates a potentially-serious security
+previously-working script to now fail, which should be construed
+as a blessing since that indicates a potentially-serious security
hole was just plugged.
The new restrictions when tainting include:
@@ -246,7 +246,7 @@ your interpreters.
File handles are now stored internally as type IO::Handle. The
FileHandle module is still supported for backwards compatibility, but
-it is now merely a front end to the IO::* modules -- specifically,
+it is now merely a front end to the IO::* modules, specifically
IO::Handle, IO::Seekable, and IO::File. We suggest, but do not
require, that you use the IO::* modules in new code.
@@ -1214,8 +1214,8 @@ or a hash slice, such as
(W) The pattern match (//), substitution (s///), and transliteration (tr///)
operators work on scalar values. If you apply one of them to an array
-or a hash, it will convert the array or hash to a scalar value -- the
-length of an array, or the population info of a hash -- and then work on
+or a hash, it will convert the array or hash to a scalar value (the
+length of an array or the population info of a hash) and then work on
that scalar value. This is probably not what you meant to do. See
L<perlfunc/grep> and L<perlfunc/map> for alternatives.