in reply to class inheritance and new(constructor)
Damien Conway presents a system where initialization is broken out into "_init" subs, and the "new" is inherited from a "mixin" class. The idea there is that the child _init's can explicitly call the "_inits" of the parent class.
See the book "Object Oriented Perl" (published by Manning), Chapter 6 "Inheritanced", listing 6.1 on page 174.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: class inheritance and new(constructor)
by aufflick (Deacon) on Jul 17, 2006 at 01:05 UTC |