Dan Sugalski <[EMAIL PROTECTED]> writes:
>At 03:35 PM 8/9/00 -0700, Damien Neil wrote:
>>On Wed, Aug 09, 2000 at 03:32:41PM -0400, Chaim Frenkel wrote:
>>
>>Each sub is assigned an index.  This index is unique for the package
>>the sub is in, and all ancestor packages.

Add all sibling packages of all the packages involved ;-)

If we are not careful we can end up making the compile NP complete.

We just had all the numbers nicely sorted and then someone reads in:

package Foo;
use base qw(Meth_is_1 Other_is_1);

sub Meth ...

sub Other ...

And now we have to recompute the whole tree so that Meth and Other don't
share the index.

>
>The first runtime reassignment of @ISA shoots this one down hard. Sorry. 
>(MI also makes it more difficult, since dependency trees will have to be 
>built...)

Yes - this is why Malcolm dodged MI with 'fields' module.

-- 
Nick Ing-Simmons

Reply via email to