G'day...
> > : Should I be using "my" or "our" here for the variables - these
> > : are the variables I want present in all my derived classes and
> > : should be the same for all.
>
> I assume you're referring to things like
> %InheritableClassData... You should be using "our" variables;
> "my
Hi!
You mean something like:
--START--
our %InheritableClassData = (
DBH => undef,
Q => undef,
Handler => undef,
);
foreach (keys %InheritableClassData) {
$$_ = sub {
shift;
$InheritableClassData{$_} = shift if @_;
G'day...
Yeah, I should have used qw not qq, and after I sent it I thought "Why
didn't I just say keys %InheritableClassData instead.." :)
I'm trying to create a class that has data members which are the same
for all instances, including instances of derived classes, as well as
containing data me