in reply to Re^2: Inheritance via class::derived_method Question
in thread Inheritance via class::derived_method Question
Thanks for the help. I think I'm getting a feel for it now.
class::method();Is more like a name which is either defined or not.
There is no @class::ISA array search for "method".
There is no "automatic" first argument=class passed to the method.
dereferences class for "method" and if not found will then use the "special method lookup mechanism" to search the classes listed in the @ISA array for "method"
The class name is automatically passed to "method" as the 1st argument.
-----
Fairly close?
Thanks again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Inheritance via class::derived_method Question
by ikegami (Patriarch) on Nov 22, 2010 at 17:31 UTC |