in reply to Re: Why can't I call SUPER from user code?
in thread Why can't I call SUPER from user code?

Thanks for the code pointers. It was just for illustrative purposes. It seems very un-perl like to keep you from doing this sort of thing if you want to.
  • Comment on Re^2: Why can't I call SUPER from user code?

Replies are listed 'Best First'.
Re^3: Why can't I call SUPER from user code?
by eric256 (Parson) on Mar 31, 2006 at 01:44 UTC

    Overriding methods in the parent class lets child classes have the same interface but a different implementation. If you override the bang method, then it is normaly assumed that the changes you made are needed in order for that object to work correctly. I can't think of any case where it would be usefully to override this behaviour (of course that might just be lack of imagination on my part).


    ___________
    Eric Hodges