In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/6368643f69732288ff1d372b5d0fd3958f332e9c?hp=1f656fcf060e343780f7a91a2ce567e8a9de9414>

- Log -----------------------------------------------------------------
commit 6368643f69732288ff1d372b5d0fd3958f332e9c
Author: Karl Williamson <[email protected]>
Date:   Sat Apr 16 20:04:49 2011 -0600

    perlre: Nits in recently added text

M       pod/perlre.pod

commit f651977e82b6e0d00dd029145729e21b5b61a8f5
Author: Tom Christiansen <[email protected]>
Date:   Sat Apr 16 08:33:56 2011 -0600

    Nits in perlunicode

M       pod/perlunicode.pod
-----------------------------------------------------------------------

Summary of changes:
 pod/perlre.pod      |   21 +++++++++++----------
 pod/perlunicode.pod |    9 +++++----
 2 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/pod/perlre.pod b/pod/perlre.pod
index 816055d..92f9ceb 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -227,11 +227,11 @@ presenting another potential security issue.  See
 L<http://unicode.org/reports/tr36> for a detailed discussion of Unicode
 security issues.
 
-On EBCDIC platforms, which already are equivalent to Latin-1 (at least
-the ones that Perl handles), this modifier changes behavior only when
+On the EBCDIC platforms that Perl handles, the native character set is
+equivalent to Latin-1.  Thus this modifier changes behavior only when
 the C<"/i"> modifier is also specified, and it turns out it affects only
 two characters, giving them full Unicode semantics: the C<MICRO SIGN>
-will match the Greek capital and small letters C<MU>; otherwise not; and
+will match the Greek capital and small letters C<MU>, otherwise not; and
 the C<LATIN CAPITAL LETTER SHARP S> will match any of C<SS>, C<Ss>,
 C<sS>, and C<ss>, otherwise not.
 
@@ -255,7 +255,7 @@ With it, one can write C<\d> with confidence that it will 
only match
 ASCII characters, and should the need arise to match beyond ASCII, you
 can use C<\p{Digit}>, or C<\p{Word}> for C<\w>.  There are similar
 C<\p{...}> constructs that can match white space and Posix classes
-beyond ASCII.  See L<perlrecharclass>.
+beyond ASCII.  See L<perlrecharclass/POSIX Character Classes>.
 
 As you would expect, this modifier causes, for example, C<\D> to mean
 the same thing as C<[^0-9]>; in fact, all non-ASCII characters match
@@ -335,21 +335,22 @@ expression depends on a fairly complex set of 
interactions.  As
 explained below in L</Extended Patterns> it is possible to explicitly
 specify modifiers that apply only to portions of a regular expression.
 The innermost always has priority over any outer ones, and one applying
-to the whole expression has priority over any default settings that are
-described in the next few paragraphs.
+to the whole expression has priority over any of the default settings that are
+described in the remainder of this section.
 
 The C<L<use re 'E<sol>foo'|re/'E<sol>flags' mode">> pragma can be used to set
 default modifiers (including these) for regular expressions compiled
 within its scope.  This pragma has precedence over the other pragmas
-that change the defaults, as listed below.
+listed below that change the defaults.
 
 Otherwise, C<L<use locale|perllocale>> sets the default modifier to C</l>;
 and C<L<use feature 'unicode_strings|feature>> or
 C<L<use 5.012|perlfunc/use VERSION>> (or higher) set the default to
 C</u> when not in the same scope as either C<L<use locale|perllocale>>
-or C<L<use bytes|bytes>>.  Unlike the mechanisms mentioned outside this
-paragraph, these affect operations besides regular expressions pattern
-matching, and so give more consistent results with other operators.
+or C<L<use bytes|bytes>>.  Unlike the mechanisms mentioned above, these
+affect operations besides regular expressions pattern matching, and so
+give more consistent results with other operators, including using
+C<\U>, C<\l>, etc. in substitution replacements.
 
 If none of the above apply, for backwards compatibility reasons, the
 C</d> modifier is the one in effect by default.  As this can lead to
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
index 7a0b593..a979f83 100644
--- a/pod/perlunicode.pod
+++ b/pod/perlunicode.pod
@@ -1291,7 +1291,8 @@ format".
 Surrogates have no meaning in Unicode outside their use in pairs to
 represent other code points.  However, Perl allows them to be
 represented individually internally, for example by saying
-C<chr(0xD801)>, so that the all code points, not just those valid for open 
interchange, are
+C<chr(0xD801)>, so that all code points, not just those valid for open
+interchange, are
 representable.  Unicode does define semantics for them, such as their
 General Category is "Cs".  But because their use is somewhat dangerous,
 Perl will warn (using the warning category "surrogate", which is a
@@ -1306,7 +1307,7 @@ UTF-32, UTF-32BE, UTF-32LE
 
 The UTF-32 family is pretty much like the UTF-16 family, expect that
 the units are 32-bit, and therefore the surrogate scheme is not
-needed.  UTF-32 is a fixed-width encoding  The BOM signatures are
+needed.  UTF-32 is a fixed-width encoding.  The BOM signatures are
 C<0x00 0x00 0xFE 0xFF> for BE and C<0xFF 0xFE 0x00 0x00> for LE.
 
 =item *
@@ -1693,7 +1694,7 @@ F<README.perl> in that directory to change some of their 
names, and then build
 perl (see F<INSTALL>).
 
 It is even possible to copy the built files to a different directory, and then
-change F<utf8_heavy.pl> in the directory C<\$Config{privlib}> to point to the
+change F<utf8_heavy.pl> in the directory C<$Config{privlib}> to point to the
 new directory, or maybe make a copy of that directory before making the change,
 and using C<@INC> or the C<-I> run-time flag to switch between versions at will
 (but because of caching, not in the middle of a process), but all this is
@@ -1792,7 +1793,7 @@ compared with the 10 ASCII characters matching C<d>).
 
 =head2 Problems on EBCDIC platforms
 
-There are a several known problems with Perl on EBCDIC platforms.  If you
+There are several known problems with Perl on EBCDIC platforms.  If you
 want to use Perl there, send email to [email protected].
 
 In earlier versions, when byte and character data were concatenated,

--
Perl5 Master Repository

Reply via email to