http://www.perlmonks.org?node_id=416985


in reply to Re: goto superclass method
in thread goto superclass method

I feel dirty just telling you this
And so you should.

This method of searching is flawed, since if perl does the work, it will scan the whole isa tree looking for a declared "dostuff", and then fall back on searching the whole tree for "AUTOLOAD". Your code will find an AUTOLOAD in a package with no declared "dostuff" sometimes when it shouldn't.

This breaks superclasses that are using AUTOLOAD correctly, i.e. with a declaration of each function that may be autoloaded.