Michael Kraus wrote:
G'day...

I've got three classes in a hierarchy, i.e.:

Class A  (Super class)
  |
Class B  (Subclasses A, Superclasses C)
  |
Class C  (Subclass)


I have a method (called "go") on both B and A. However, if it is called on A die is called as it is designed to be overridden in subclasses of A.

When I call "go" on C, rather than calling "go" on B, it skips it and
calls "go" on A - causing the application to die.

FWIW, I'm also getting "Can't locate package A for @A::ISA" warnings
when using C.

Why is this occurring???

If those are the actual package names your using, then you are probably picking up the B package in the core...



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to