in reply to Re: How can I avoid creating two instances of the same object
in thread How can I avoid creating two instances of the same object
The problem isn't that I don't want have multiple dbh's out there. There are several ways to avoid this. I just don't want to have 30 lines of code that says Company->new, User->new, Address->new. How can I avoid having to call new for each package?