This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for RT #113584
[perl5.git] / pod / perldelta.pod
index ef200d9..7980515 100644 (file)
@@ -199,13 +199,13 @@ XXX Changes which significantly change existing files in F<pod/> go here.
 However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
 section.
 
-=head3 L<XXX>
+=head3 L<perlfaq>
 
 =over 4
 
 =item *
 
-XXX Description of the change here
+L<perlfaq> has been synchronised with version 5.0150040 from C<CPAN>.
 
 =back
 
@@ -492,6 +492,43 @@ fixes.  FETCH is only called once now on a tied argument or a tied C<$@>
 no longer ignored.  A tied C<$@> that happened to return a reference the
 I<previous> time is was used is no longer ignored.
 
+=item *
+
+C<warn ""> now treats C<$@> with a number in it the same way, regardless of
+whether it happened via C<$@=3> or C<$@="3">.  It used to ignore the
+former.  Now it appends "\t...caught", as it has always done with
+C<$@="3">.
+
+=item *
+
+Numeric operators on magical variables (e.g., S<C<$1 + 1>>) used to use
+floating point operations even where integer operations were more appropriate, resulting in loss of accuracy on 64-bit platforms
+[perl #109542].
+
+=item *
+
+Unary negation no longer treats a string as a number if the string happened
+to be used as a number some time.  So, if $x contains the string "dogs",
+C<-$x> returns "-dogs" even if C<$y=0+$x> has happened at some point.
+
+=item *
+
+In Perl 5.14, C<-'-10'> was fixed to return "10", not "+10".  But magical
+variables (C<$1>, ties) were not fixed till now [perl #57706].
+
+=item *
+
+Unary negation now treats strings consistently, regardless of the internal
+UTF8 flag.
+
+=item *
+
+A regression introduced in Perl v5.16.0 involving
+C<tr/I<SEARCHLIST>/I<REPLACEMENTLIST>/> has been fixed.  Only the first
+instance is supposed to be meaningful if a character appears more than
+once in C<I<SEARCHLIST>>.  Under some circumstances, the final instance
+was overriding all earlier ones.  [perl #113584]
+
 =back
 
 =head1 Known Problems