Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Re: AUTOLOAD does not scale

by ihb (Deacon)
on May 30, 2004 at 19:58 UTC ( #357662=note: print w/ replies, xml ) Need Help??

in reply to Re: AUTOLOAD does not scale
in thread OO Inheritence

it is perfectly possibly

Remove "perfectly" from that sentence and I'll agree with you. From NEXT's documentation:

Because it's a module, not an integral part of the interpreter, has to guess where the surrounding call was found in the method look-up sequence. In the presence of diamond inheritance patterns it occasionally guesses wrong.

It's also too slow (despite caching).

I repeat what I've said earlier, that using AUTOLOAD may very well cause you a bigger problem than the one you tried to solve. (Re: is autoload bad style?)


Comment on Re: Re: AUTOLOAD does not scale
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://357662]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2015-11-25 11:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (674 votes), past polls