[ABE.pm] And another thing...

Faber J. Fedor faber at linuxnj.com
Mon May 22 19:09:55 PDT 2006


On 22/05/06 14:00 -0400, Ricardo SIGNES wrote:
> > Not at all.  As I stated before, my problem was not calling the base
> > class' construstor when I created the derived class.
> 
> ...but with the code I provided, you don't need to do that.  

I understand that.  What I was trying to do was to build on the $self
object, i.e. my base class defines $self->{date}, $self->{template},
etc. which all of the derived classes need.  Then each derived class
adds to $self the variables the derived class needs.  This way I don't
need to call '$dbh = get_dbh()' in every function that needs to do a SQL
stmt (which are quite a few).


-- 
 
Regards,
 
Faber Fedor
President
Linux New Jersey, Inc.
908-320-0357
800-706-0701

http://www.linuxnj.com





More information about the ABE-pm mailing list