X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperl5100delta.pod;h=d47df845d2aba8c19432025306750379fbfc6f85;hb=b9ad30b40cf004f5ea6fd7a945a950cf873aed7b;hp=cf90dc939c0e6198b0594a3294e9021e0151cb13;hpb=0e44e2ed98933c59fd87dadd476ced988d634c10;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perl5100delta.pod b/pod/perl5100delta.pod index cf90dc9..d47df84 100644 --- a/pod/perl5100delta.pod +++ b/pod/perl5100delta.pod @@ -2,7 +2,7 @@ =head1 NAME -perldelta - what is new for perl 5.10.0 +perl5100delta - what is new for perl 5.10.0 =head1 DESCRIPTION @@ -103,7 +103,7 @@ nested balanced angle brackets: < # match an opening angle bracket (?: # match one of: (?> # don't backtrack over the inside of this group - [^<>]+ # one or more non angle brackets + [^<>]+ # one or more non angle brackets ) # end non backtracking group | # ... or ... (?1) # recurse to bracket 1 and try it again @@ -228,9 +228,9 @@ overriding the lexical declaration with C. (Rafael Garcia-Suarez) =head2 The C<_> prototype A new prototype character has been added. C<_> is equivalent to C<$> but -defaults to C<$_> if the corresponding argument isn't supplied. (both C<$> -and C<_> denote a scalar). Due to the optional nature of the argument, you -can only use it at the end of a prototype, or before a semicolon. +defaults to C<$_> if the corresponding argument isn't supplied (both C<$> +and C<_> denote a scalar). Due to the optional nature of the argument, +you can only use it at the end of a prototype, or before a semicolon. This has a small incompatible consequence: the prototype() function has been adjusted to return C<_> for some built-ins in appropriate cases (for @@ -313,7 +313,7 @@ To use state variables, one needs to enable them by using use feature 'state'; or by using the C<-E> command-line switch in one-liners. -See L. +See L. =head2 Stacked filetest operators @@ -543,6 +543,14 @@ Previously, F<.pmc> files were loaded only if more recent than the matching F<.pm> file. Starting with 5.9.4, they'll be always loaded if they exist. +=head2 $^V is now a C object instead of a v-string + +$^V can still be used with the C<%vd> format in printf, but any +character-level operations will now access the string representation +of the C object and not the ordinals of a v-string. +Expressions like C<< substr($^V, 0, 2) >> or C<< split //, $^V >> +no longer work and must be rewritten. + =head2 @- and @+ in patterns The special arrays C<@-> and C<@+> are no longer interpolated in regular @@ -1274,7 +1282,7 @@ D. Hedden) chr() on a negative value now gives C<\x{FFFD}>, the Unicode replacement character, unless when the C pragma is in effect, where the low -eight bytes of the value are used. +eight bits of the value are used. =item PERL5SHELL and tainting @@ -1530,7 +1538,7 @@ inherits from C (it used to inherit from C). The anonymous hash and array constructors now take 1 op in the optree instead of 3, now that pp_anonhash and pp_anonlist return a reference to -an hash/array when the op is flagged with OPf_SPECIAL (Nicholas Clark). +an hash/array when the op is flagged with OPf_SPECIAL. (Nicholas Clark) =head1 Known Problems @@ -1542,15 +1550,33 @@ Stacked filetest operators won't work when the C pragma is in effect, because they rely on the stat() buffer C<_> being populated, and filetest bypasses stat(). +=head2 UTF-8 problems + +The handling of Unicode still is unclean in several places, where it's +dependent on whether a string is internally flagged as UTF-8. This will +be made more consistent in perl 5.12, but that won't be possible without +a certain amount of backwards incompatibility. + +=head1 Platform Specific Problems + When compiled with g++ and thread support on Linux, it's reported that the C<$!> stops working correctly. This is related to the fact that the glibc provides two strerror_r(3) implementation, and perl selects the wrong one. -=head1 Platform Specific Problems - =head1 Reporting Bugs +If you find what you think is a bug, you might check the articles +recently posted to the comp.lang.perl.misc newsgroup and the perl +bug database at http://rt.perl.org/rt3/ . There may also be +information at http://www.perl.org/ , the Perl Home Page. + +If you believe you have an unreported bug, please run the B +program included with your release. Be sure to trim your bug down +to a tiny but sufficient test case. Your bug report, along with the +output of C, will be sent off to perlbug@perl.org to be +analysed by the Perl porting team. + =head1 SEE ALSO The F file and the perl590delta to perl595delta man pages for