
modperl-list at 2xlp
Mar 30, 2006, 4:23 PM
Post #3 of 5
(2690 views)
Permalink
|
On Mar 30, 2006, at 6:42 PM, Perrin Harkins wrote: > On Thu, 2006-03-30 at 18:34 -0500, Jonathan Vanasco wrote: >> if you subclass a module to override a few methods, and then decide >> to remove a subclassed method (to call off the method in the parent >> class instead), you will raise an error instead of calling the parent >> method. >> if you do a restart, everything works as expected. > > Perl caches method lookups in order to reduce the performance hit > of OO > code. If you'd like to make a patch for the A::Reload docs saying > that > it can't handle changes that modify which package a method should be > called in, I think that's close enough. > > - Perrin OK. I'll do that and quote from above. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: docs-dev-unsubscribe[at]perl.apache.org For additional commands, e-mail: docs-dev-help[at]perl.apache.org
|