perldelta for [perl #79208]
authorFather Chrysostomos <sprout@cpan.org>
Tue, 16 Nov 2010 00:05:40 +0000 (16:05 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 16 Nov 2010 00:18:38 +0000 (16:18 -0800)
pod/perldelta.pod

index 865191c..6f530ce 100644 (file)
@@ -203,6 +203,15 @@ and maybe others, too, have been fixed.
 See L<http://rt.perl.org/rt3/Public/Bug/Display.html?id=77810> for even
 more detail.
 
+=head2 Clearing stashes
+
+Stash list assignment C<%foo:: = ()> used to make the stash anonymous
+temporarily while it was being emptied. Consequently, any of its
+subroutines referenced elsewhere would become anonymous (showing up as
+"(unknown)" in C<caller>). Now they retain their package names, such that
+C<caller> will return the original sub name if there is still a reference
+to its typeglob, or "foo::__ANON__" otherwise.
+
 =head1 Deprecations
 
 XXX Any deprecated features, syntax, modules etc. should be listed here.