in reply to Re^3: Overriding 'static' methods of a perl package
in thread Overriding 'static' methods of a perl package
The line 'use parent -norequire => "Parent"' generates a compilation error.
I guess I'm still dragging too much Java baggage along with me. In my 'real life' implementation of this idea, the 'Parent' package contains an elaborate routine that calls a number of supporting subroutines to control its operation. The idea was to override the supporting subroutines to create new behaviors.
I was trying to avoid making it truly OO as there was only one use of the class after it was created.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Overriding 'static' methods of a perl package
by Corion (Patriarch) on Sep 16, 2008 at 15:37 UTC | |
by Anonymous Monk on Sep 16, 2008 at 16:07 UTC | |
by Fletch (Bishop) on Sep 16, 2008 at 16:16 UTC | |
by Anonymous Monk on Sep 16, 2008 at 17:43 UTC | |
by FunkyMonk (Bishop) on Sep 16, 2008 at 21:44 UTC |