diff options
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 4 | ||||
-rw-r--r-- | pod/perlop.pod | 4 | ||||
-rw-r--r-- | pod/perlre.pod | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index cd9583bc87..2634d837fc 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1725,9 +1725,9 @@ ended earlier on the current line. mentioned with the $ in Perl, unlike in the shells, where it can vary from one line to the next. -=item Missing %sbrace%s on \C{} +=item Missing %sbrace%s on \N{} -(F) Wrong syntax of character name literal C<\C{charname}> within +(F) Wrong syntax of character name literal C<\N{charname}> within double-quotish context. =item Missing comma after first argument to %s function diff --git a/pod/perlop.pod b/pod/perlop.pod index bd4ca1df7d..14ca6b5ec0 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -673,7 +673,7 @@ a transliteration, the first eleven of these sequences may be used. \x1b hex char (ESC) \x{263a} wide hex char (SMILEY) \c[ control char (ESC) - \C{name} named char + \N{name} named char \l lowercase next char \u uppercase next char @@ -684,7 +684,7 @@ a transliteration, the first eleven of these sequences may be used. If C<use locale> is in effect, the case map used by C<\l>, C<\L>, C<\u> and C<\U> is taken from the current locale. See L<perllocale>. For -documentation of C<\C{name}>, see L<charnames>. +documentation of C<\N{name}>, see L<charnames>. All systems use the virtual C<"\n"> to represent a line terminator, called a "newline". There is no such thing as an unvarying, physical diff --git a/pod/perlre.pod b/pod/perlre.pod index a1a118f371..76f345de35 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -149,7 +149,7 @@ also work: \x1B hex char \x{263a} wide hex char (Unicode SMILEY) \c[ control char - \C{name} named char + \N{name} named char \l lowercase next char (think vi) \u uppercase next char (think vi) \L lowercase till \E (think vi) @@ -159,7 +159,7 @@ also work: If C<use locale> is in effect, the case map used by C<\l>, C<\L>, C<\u> and C<\U> is taken from the current locale. See L<perllocale>. For -documentation of C<\C{name}>, see L<charnames>. +documentation of C<\N{name}>, see L<charnames>. You cannot include a literal C<$> or C<@> within a C<\Q> sequence. An unescaped C<$> or C<@> interpolates the corresponding variable, @@ -178,7 +178,7 @@ In addition, Perl defines the following: \PP Match non-P \X Match eXtended Unicode "combining character sequence", equivalent to C<(?:\PM\pM*)> - \O Match a single C char (octet) even under utf8. + \C Match a single C char (octet) even under utf8. A C<\w> matches a single alphanumeric character, not a whole word. Use C<\w+> to match a string of Perl-identifier characters (which isn't |