perldelta for f132ae69 (*{undef})
authorFather Chrysostomos <sprout@cpan.org>
Fri, 26 Aug 2011 16:26:46 +0000 (09:26 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 26 Aug 2011 16:26:46 +0000 (09:26 -0700)
pod/perldelta.pod

index 6ba039e..7f6b29b 100644 (file)
@@ -442,6 +442,15 @@ has been corrected to "Undefined subroutine called" [perl #71154].
 Causing C<@DB::args> to be freed between uses of C<caller> no longer
 results in a crash [perl #93320].
 
+=item *
+
+Since 5.6.0, C<*{ ... }> has been inconsistent in how it treats undefined
+values.  It would die in strict mode or lvalue context for most undefined
+values, but would be treated as the empty string (with a warning) for the
+specific scalar return by C<undef()> (C<&PL_sv_undef> internally).  This
+has been corrected.  C<undef()> is now treated like other undefined
+scalars, as in Perl 5.005.
+
 =back
 
 =head1 Known Problems