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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to