in reply to Can you help me understand this OO notation/issue?

I might be mistaken, but PARENT is not special in Perl. Maybe it should have been SUPER?
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re: Can you help me understand this OO notation/issue?

Replies are listed 'Best First'.
Re^2: Can you help me understand this OO notation/issue?
by mr.nick (Chaplain) on Sep 06, 2013 at 15:08 UTC
    Now that you mention it, that does seem to be true. I guess the @PARENT::ISA = @ISA is actually creating a namespace called "PARENT" with @ISA in it, then the PARENT::new() call searches that @ISA and finds the Event package, then calls the new. Interesting. That would explain why the Event08 is always being called; it's the last to populate @ISA in PARENT.

    Thanks! (I should have noticed this, though ... too much PHP coding).

    mr.nick ...