From ac0367249e563330db9a9a04f778eae30defbab0 Mon Sep 17 00:00:00 2001 From: brian d foy Date: Wed, 13 Jan 2010 17:19:25 +0100 Subject: * 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. --- pod/perl5004delta.pod | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pod/perl5004delta.pod') 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 and L for alternatives. -- cgit v1.2.1