X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlretut.pod;h=c0a78a43e49db76d011a254091c442ef2a881650;hb=a537debe17982e491ffa12d12441cf74a452acb2;hp=b738c3b2cbe48c01f3fae8a69a1dbbe0fcc2e52a;hpb=16e8b84077a7f90c46bd95640feeb546b4bfbf75;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlretut.pod b/pod/perlretut.pod index b738c3b..c0a78a4 100644 --- a/pod/perlretut.pod +++ b/pod/perlretut.pod @@ -1754,7 +1754,7 @@ letter, the braces can be dropped. For instance, C<\pM> is the character class of Unicode 'marks', for example accent marks. For the full list see L. -The Unicode has also been separated into various sets of charaters +The Unicode has also been separated into various sets of characters which you can test with C<\p{In...}> (in) and C<\P{In...}> (not in), for example C<\p{Latin}>, C<\p{Greek}>, or C<\P{Katakana}>. For the full list see L. @@ -2271,7 +2271,7 @@ may surprise you: $pat = qr/(?{ $foo = 1 })/; # precompile code regexp /foo${pat}bar/; # compiles ok -If a regexp has (1) code expressions and interpolating variables,or +If a regexp has (1) code expressions and interpolating variables, or (2) a variable that interpolates a code expression, perl treats the regexp as an error. If the code expression is precompiled into a variable, however, interpolating is ok. The question is, why is this