Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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?)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://357662]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-06-27 02:37 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (598 votes). Check out past polls.