I feel dirty just telling you thisAnd 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.
In reply to Re^2: goto superclass method
by ysth
in thread goto superclass method
by avarus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |