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 reply to Re: OO, inheriting functions from other packages
by guha
in thread OO, inheriting functions from other packages
by sschneid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |