in reply to Re: Inheritance confusion
in thread Inheritance confusion
I don't know whether or not it is meant to be subclassed--there is no mention that it is, so quite possibly not. If it returns a blessed hash, shouldn't I be able to bless that into my own class? Or is there more to it than that? I looked through perltoot again; there is plenty of discussion of making your own classes, but it doesn't answer the question of exactly what needs to happen to be heritable.
Finally, thanks for the $class->SUPER::new() correction. In my frustration, I had changed the code to the unintelligible form that I originally posted.
Sean
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Inheritance confusion
by eric256 (Parson) on Aug 08, 2006 at 17:22 UTC | |
|
Re^3: Inheritance confusion
by polettix (Vicar) on Aug 08, 2006 at 23:56 UTC |