Graham Barr wrote:
On Fri, Feb 21, 2003 at 04:34:42PM -0500, Dan Sugalski wrote: > If A isa B, we certainly wouldn't want to call A's AUTOLOAD on a > method before we looked to see if B had a concrete instance of that > method.
Right. The best you could probably do is note where you found the first AUTOLOAD so that when you do reach the end of the ISA search you don't need to do the whole search again.
Unless we changed the language in such a way that we could *tell* whether or not we should try calling A's AUTOLOAD.
Given that we have to run perl 5 code with the same expressed semantics as perl 5, and also are going to run python and ruby code properly, this isn't a tenable option.
We're the implementors. While we can complain about the semantics we have to express, we don't get to not express them.
--
Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk