summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
authorBrandon Black <blblack@gmail.com>2007-04-23 13:58:39 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-26 13:05:29 +0000
commit47c9dd1447a52d200f008e3cc2f93e7266eb217e (patch)
tree447eafe15f9b6769c211e7b0e08b72aa31399951 /mro.c
parentf9a79580b192afed2f69f3822042e6ad0a13400a (diff)
downloadperl-47c9dd1447a52d200f008e3cc2f93e7266eb217e.tar.gz
Fix mro docs.
Subject: Re: mro callbacks patch From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704231658o4c85783ere3c3e90dd614c30b@mail.gmail.com> p4raw-id: //depot/perl@31086
Diffstat (limited to 'mro.c')
-rw-r--r--mro.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mro.c b/mro.c
index 437d66194e..ac872ec1e2 100644
--- a/mro.c
+++ b/mro.c
@@ -554,14 +554,14 @@ Perl_mro_isa_changed_in(pTHX_ HV* stash)
/*
=for apidoc mro_method_changed_in
-Like C<mro_isa_changed_in>, but invalidates method
-caching on any child classes of the given stash, so
-that they might notice the changes in this one.
+Invalidates method caching on any child classes
+of the given stash, so that they might notice
+the changes in this one.
Ideally, all instances of C<PL_sub_generation++> in
-the perl source should be replaced by calls to this.
-Some already are, but some are more difficult to
-replace.
+the perl source outside of C<mro.c> should be
+replaced by calls to this. This conversion is
+nearly complete.
Perl has always had problems with method caches
getting out of sync when one directly manipulates