So when Table inherits from IDObject it will use the same constructor and set the database handle.# bare bones example sub new { my $class = shift; bless { dbh => $class->get_db(@_) }, $class; }
_________
broquaint
In reply to Re: Class data and inheritance
by broquaint
in thread Class data and inheritance
by mhacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |