This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for the SvIsCOW fix
authorFather Chrysostomos <sprout@cpan.org>
Wed, 13 Jul 2011 15:39:14 +0000 (08:39 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 13 Jul 2011 15:39:14 +0000 (08:39 -0700)
pod/perldelta.pod

index 132822c..51e27a0 100644 (file)
@@ -588,6 +588,16 @@ corrupt the glob, and unlocking a hash element that holds a copy-on-write
 scalar no longer causes modifications to that scalar to modify other
 scalars that were sharing the same string buffer.
 
 scalar no longer causes modifications to that scalar to modify other
 scalars that were sharing the same string buffer.
 
+=item *
+
+The C<SvIsCOW> C macro now returns false for read-only copies of typeglobs,
+such as those created by:
+
+  $hash{elem} = *foo;
+  Hash::Util::lock_value %hash, 'elem';
+
+It used to return true.
+
 =back
 
 =head1 Known Problems
 =back
 
 =head1 Known Problems