in reply to Method names with colons in them?
However, I still want to get AUTOLOAD calledIt will. The question is, which AUTOLOAD? More precisely, AUTOLOAD in which package?
In the example you wrote, Perl will search for AUTOLOAD in the abc::xyz package and any other packages up the @ISA chain. In other words, it won't look for AUTOLOAD in the abc package (unless abc::xyz ISA abc).
More detail on AUTOLOAD is in perlsub.
Unless I've completely misunderstood your question....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Method names with colons in them?
by runrig (Abbot) on Jul 08, 2005 at 16:29 UTC |