in reply to Initial Variables

Hi Angel,

have you considered passing the db handle in as a key => value pair, like
my $foo=new foo(handle=>$dbh, bar=>"baz", ...);

then you can assign it to a hash in new(), as in the example you gave.

Of course, really that is just passing it in as an array (or list), but you don't have to think of it that way. :-)

Hope this helps

thinker