From: Father Chrysostomos Date: Sun, 15 Sep 2013 01:34:22 +0000 (-0700) Subject: perldelta for ce0d59fdd1c/#7503,#118753 X-Git-Tag: upstream/5.20.0~1879 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2ee494e1da60993b35ebeaf0e52fd39b41cb0b7;p=platform%2Fupstream%2Fperl.git perldelta for ce0d59fdd1c/#7503,#118753 --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index f71a19d..e3ef6c0 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -732,6 +732,14 @@ C<${^POSTMATCH>. It uses slightly less memory, avoids string comparisons and numeric conversions during lookup, and uses 23 fewer lines of C. This change should not affect any external code. +=item * + +Arrays now use NULL internally to represent unused slots, instead of +C<&PL_sv_undef>. C<&PL_sv_undef> is no longer treated as a special value, +so C will cause element 0 of that array to +hold a read-only undefined scalar. C<$array[0] = anything> will croak and +C<\$array[0]> will compare equal to C<\undef>. + =back =head1 Selected Bug Fixes @@ -770,6 +778,11 @@ uninitialized warnings. [perl #118693] C no longer erroneous produces a warning about void context. [perl #118753] +=item * + +Passing C to a subroutine now causes @_ to contain the same read-only undefined scalar that C returns. Furthermore, C will now return true if C was the first argument. +[perl #7508, #109726]. + =back =head1 Known Problems