Re: RFC: DBIx::Counter - persistent counter class with dbi storage
Rhesa Rozendaal <[email protected]> Thu, 14 Apr 2005 22:28:59 +0200
| Newsgroups | gmane.comp.lang.perl.code-review-ladder |
|---|---|
| Message-ID | <[email protected]> |
Stephen Howard wrote: > > You might also consider an alertnate constructor that took an already > instantiated db handle: > > $c = new DBIx::Counter( 'my counter', dbh => $dbh ); > > chances are if someone is interested in storing their counter in the > database, they're using that db for other things as well and may already > have a db handle lying around. Absolutely. I'll add that straight away.