XP is just a number | |
PerlMonks |
Re: OO, inheriting functions from other packagesby guha (Priest) |
on Jul 22, 2004 at 16:22 UTC ( [id://376642]=note: print w/replies, xml ) | Need Help?? |
Maybe Class::Singleton, which would be your b-option but more elegant in your wording. At startup you would create your $dbh, and all subsequent use of the constructor would give a reference to the first $dbh.
In Section
Seekers of Perl Wisdom
|
|