[ABE.pm] And another thing...
Faber J. Fedor
faber at linuxnj.com
Mon May 22 10:04:26 PDT 2006
On 22/05/06 07:40 -0400, Ricardo SIGNES wrote:
> * "Faber J. Fedor" <faber at linuxnj.com> [2006-05-17T20:15:08]
> > How do I pass a variable from the superclass to the subclass? Nothing
> > I've tried works.
> I think your phrasing of the question here is confusing and/or confused. I
> think you mean this, but I might be wrong:
> How do I make a base class store data that is shared by its derived classes?
Right, but "base class" == "superclass" and "derived class" ==
> Any child of ParentClass can call its own get_dbh and will be handed back a
> connection created by the parent and shared for all children. Is any part of
> the above unclear? It's early, so I'm not sure whether it should be confusing
> or not! ;)
Not at all. As I stated before, my problem was not calling the base
class' construstor when I created the derived class.
Linux New Jersey, Inc.
More information about the ABE-pm