From: Father Chrysostomos Date: Mon, 14 Feb 2011 06:02:00 +0000 (-0800) Subject: perldiag: reflow a couple of entries X-Git-Tag: accepted/trunk/20130322.191538~5640 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4e361c703c6849199bd8dd7d80da1c3c1e22a16;p=platform%2Fupstream%2Fperl.git perldiag: reflow a couple of entries --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 37c6d6c..cf1abed 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2759,14 +2759,16 @@ local() if you want to localize a package variable. =item \N in a character class must be a named character: \N{...} (F) The new (5.12) meaning of C<\N> as C<[^\n]> is not valid in a bracketed -character class, for the same reason that C<.> in a character class loses its -specialness: it matches almost everything, which is probably not what you want. +character class, for the same reason that C<.> in a character class loses +its specialness: it matches almost everything, which is probably not +what you want. =item \N{NAME} must be resolved by the lexer -(F) When compiling a regex pattern, an unresolved named character or sequence -was encountered. This can happen in any of several ways that bypass the lexer, -such as using single-quotish context, or an extra backslash in double quotish: +(F) When compiling a regex pattern, an unresolved named character or +sequence was encountered. This can happen in any of several ways that +bypass the lexer, such as using single-quotish context, or an extra +backslash in double quotish: $re = '\N{SPACE}'; # Wrong! $re = "\\N{SPACE}"; # Wrong!